[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Asterix cropped in Arial 10
From: |
Frensch, Kay |
Subject: |
[ft] Asterix cropped in Arial 10 |
Date: |
Wed, 12 Aug 2009 10:08:31 +0200 |
Hello,
I am using Freetype
2.3.9 to generate BDF Fonts from TrueType Fontfiles
with the help of the
otf2bdf commandline tool by M. Leisher.
The
Asterix sign " * ", 0x2A, from Arial Unicode MS degenerates in point
size 10 @ 72 dpi to a 3x3 bitmap
showing only
the lower two beams of the star looking like a
pico-^.
It gets
cropped at the top somewhere in or below ft_raster1_render().
Since neither the
font nor size nor the character is uncommon, I am wondering what I am
missing.
Thanks in
advance,
Kay
Frensch
Codeoutline used for tests:
in
lib:
#define
TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/* #define TT_CONFIG_OPTION_UNPATENTED_HINTING
*/
in otf2bdf:
FT_Init_FreeType()
FT_New_Face()
FT_Set_Char_Size()
FT_Set_Charmap()
... lot of stuff to extract platform
encodings and generate names for BDF ...
for (code = 0; code < 0xffff;
code++)
{
FT_Get_Char_Index()
FT_Load_Glyph(face, idx, FT_LOAD_DEFAULT |
FT_LOAD_TARGET_MONO)
FT_Render_Glyph(face->glyph,
FT_RENDER_MODE_MONO)
}
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.
- [ft] Asterix cropped in Arial 10,
Frensch, Kay <=