[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Re: embedded bitmaps and hinting
From: |
David Turner |
Subject: |
[Freetype] Re: embedded bitmaps and hinting |
Date: |
Fri, 14 Dec 2001 11:10:40 +0100 |
Hello Brian,
the inability of loading embedded bitmaps when the
auto-hinter is used is one known bugs of FreeType.
unfortunately, there's no easy way to fix that without
making a few drastic changes in its internals, and I
feel we're too near a new release to make these now..
I intend to work on this as soon as 2.0.6 is released,
because we're going to re-design some important internal
parts of the library..
Sorry about that, and best regards,
- David
Brian Stell a écrit :
>
> I'm using the FTC cache.
>
> To get embedded bitmaps I seem to need to set the
> ftc_image_flag_unhinted bit in imageDesc.image_type.
>
> Setting ftc_image_flag_unhinted seems to be needed to
> enable the embedded glyphs but it also disables hinting
> for chars without embedded glyphs.
>
> I have a font that seems to display CJK glyphs rendered
> from embedded bitmaps and western glyphs rendered from
> outlines. The embedded bitmaps, of course, are not anti
> aliased. I would like the outline rendered glyphs to
> visually match the CJK chars; ie: not be anti aliased.
> However, if the outline rendered glyphs are not anti
> aliased and not hinted they look very poor.
>
> With unhinted set the CJK fonts are from embedded bitmaps
> and look great but the western glyphs rendered from the
> outlines look "okay" when AA but bad when mono.
>
> With unhinted not set the western glyphs are rendered
> hinted from outline and and look good when mono but the
> CJK glyphs are rendered from outline and look poor.
>
> Is there a way to get the embedded glyphs and hinted
> outlines for those chars without embedded glyphs?
>
> --
> Brian Stell
- [Freetype] Re: embedded bitmaps and hinting,
David Turner <=