[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] wrong glyph image of Calibri.ttf
From: |
suzuki toshiya |
Subject: |
Re: [ft-devel] wrong glyph image of Calibri.ttf |
Date: |
Mon, 11 Jun 2012 18:58:12 +0900 |
User-agent: |
Mozilla-Thunderbird 2.0.0.12 (X11/20080406) |
Could you post some program and its result?
If I check the output by ftview, with 9 pt at 96 dpi,
it's difficult to find a significant problem quickly.
Regards,
mpsuzuki
yu ze hua wrote:
> I create face with Calibri.ttf(this file on windows system fonts dir), and
> /* use 9pt at 96dpi */
> FT_Set_Char_Size( face, 9 * 64, 0,
> 96, 0 ); /* set character size */
> load a character:
> /* load glyph image into the slot (erase previous one) */
> FT_Load_Char( face, text[n], FT_LOAD_RENDER );
>
> but the face->glyph->bigmap data are wrong!
>
> when i change Char size to 15 or dpi(such as 90)
> FT_Set_Char_Size( face, 15 * 64, 0,
> 96, 0 );
> or
> FT_Set_Char_Size( face, 9 * 64, 0,
> 90, 0 );
> then glyph image data correct.
>
> there is no problem if create with face with other ttf,such as msyh.ttf
> why Cailbir.ttf special?
> and what restriction between character pt and dpi?
>
> btw,this issue is on pc(win7 64bit)
>
> thanks,
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel