XNA Creators Club Online
Page 1 of 1 (5 items)
Sort Posts: Previous Next

ID3DX10Font cuts italic font glyphs/characters internally

Last post 12/9/2008 6:32 AM by Vertex333. 4 replies.
  • 12/4/2008 12:51 PM

    ID3DX10Font cuts italic font glyphs/characters internally

    D3DX10: My ID3DX10Font object/interface cuts the characters internally (the internal created textures for the characters) when italic is used. I checked the textures also with PIX. REF shows the same results. "Cut" means that they look like only the area of non italic glyphs/characters get copied to the texture instead of the area of the italic glyphs/characters. They look like they get clipped wrong, but DT_NOCLIP shouldn't be the problem at this stage, since it is not drawn anywhere.

    The D3D9 sample Text3D and its D3D9 Text implementations (ID3DXFont) showed a similar behaviour with some fonts(e.g. "System"), but the most (Arial,...) worked well. Maybe only TT fonts are affected in D3D9?

    Note: This has nothing to do with DrawText,DT_NOCLIP, or something like this, since it is already in an earlier stage. It can be reproduced with preload functions or drawtext (e.g. also with calcrect) calls. I also tried different font settings, without any luck. Also copied appropriate settings of the D3D9 Text3D sample, without luck.

    Is this a bug?
    Or maybe it is only a problem in my app, but if so, why? Since the only thing I do is creating a ID3DX10Font and watching it created resources in PIX. 

    This can be easily reproduced by changing the "italic" parameter at font creation from FALSE to TRUE in one of the samples or tutorials (at least output text is needed).

    System: Vista, D3D10, november SDK 2008.

    Thx,
    Vertex
  • 12/4/2008 10:21 PM In reply to

    Re: ID3DX10Font cuts italic font glyphs/characters internally

    Yeah I just made my own because I noticed that as well...
  • 12/5/2008 6:45 AM In reply to

    Re: ID3DX10Font cuts italic font glyphs/characters internally

    Unholysavagery:
    Yeah I just made my own because I noticed that as well...
    Good to know! I will try to contact MS. Maybe something can be done.

    Thx,
    Vertex
  • 12/7/2008 3:39 PM In reply to

    Re: ID3DX10Font cuts italic font glyphs/characters internally

    They don't seem to care about stuff like that, I reported a bug in the ID3DX10Mesh interface that gives a 64 Kb memory leak after you release the mesh but I've not heard back from them. I have also reported countless bugs in the DXUT.
  • 12/9/2008 6:32 AM In reply to

    Re: ID3DX10Font cuts italic font glyphs/characters internally

    Unholysavagery:
    They don't seem to care about stuff like that, I reported a bug in the ID3DX10Mesh interface that gives a 64 Kb memory leak after you release the mesh but I've not heard back from them. I have also reported countless bugs in the DXUT.
    Thx. They may (hopefully) care about it... so lets wait... email sent... if no answer, I will see what can be done next...
Page 1 of 1 (5 items) Previous Next