CPVRTPrint3D, replace font?

This topic contains 9 replies, has 7 voices, and was last updated by  dgu 5 years, 9 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #29533

    jax
    Member
    Hi,

     

    How is the CPVRTPrint3D font bitmap  created and generated?  I have seen that it’s located in the PVRTPrint3DABC_Pixels array. I’d like to replace this font with my own font.

     

    Regards

     

    Johan

     

     
    #32138

    Gordon
    Moderator

    The Print3D font starts as a bitmap image containing all the characters in the font. This becomes the PVRTPrint3DABC_Pixels array that you found. We also have a small program that examines the bitmap and determines coordinate rectangles for each character. These are stored in the PVRTPrint3DSize_XXXX arrays.

    To successfully replace the font you need to replace both of these data sets (or use a bitmap with identically dimensioned characters to the existing one).

    Hope this helps – if you have further questions, please ask.

    G

    Gordon2008-06-06 14:22:52

    #32139

    jax
    Member
    Thanks for your reply,

    Can I have the tool that generates the PVRTPrint3DSize_XXXX arrays?

     

    Regards

     

    Johan

     
    #32140

    mchan
    Member

    Hi,
    I would like to have the program to generate the PVRTPrint3DSize_XXXX
    What about the other 2 arrays.
    PVRTPrint3DU_XXXX
    PVRTPrint3DV_XXXX
    Do these needs to be generated and changed as well?

    thanks,
    Marvin

    #32141

    Gordon
    Moderator

    We’re adding this to the SDK for the next release (late summer 2009), but in the meantime, if you send an email to devtech@imgtec.com we’ll be able to send you the program to deal with this.

    I believe the other arrays are also generated (it’s a while since I looked at this) at the same time, but if you have further problems we can sort it out over the email.

    #32142

    JMan
    Member

    Sorry for bumping an old topic. Is the program mentioned above still available on request or is it in the SDK already? If in the SDK, where can I find it?

    #32143

    liuzewei
    Member
    JMan wrote:
    Sorry for bumping an old topic. Is the program mentioned above still available on request or is it in the SDK already? If in the SDK, where can I find it?

     

    this is my question too.

    I searched anywhere in this website and the SDK, but still can’t found this font tool.Confused
    #32144

    dgu
    Member

    HEllo

    i was reading this post because i need to change the font stored in PVRTPrint3Ddat.h

    can i this tools as well ??

    regards

    david

    #32145

    Hi david,

    We’ve added font-to-texture generation into our next SDK within PVRTexTool. A new training course “IntroducingPrint3D” is also available to guide you through how to use the new functionality. Preview copies of this SDK were available at GDC, and the complete release should be available on our website shortly. We will announce on the forums when this happens.

    Thanks,

    Tobias

    #32146

    dgu
    Member

    Hello ,

    it s even more that i wanted , very nice update

    regards

    david

Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.