freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] losing outline flags while auto-hinting


From: Alexei Podtelezhnikov
Subject: [ft-devel] losing outline flags while auto-hinting
Date: Thu, 16 Feb 2012 00:09:03 -0500

Hi all,

Attached is a small program that demonstrates how freetype loses
outline flags during auto-hinting.
This is a demonstration:

$ ./outflags /usr/share/fonts/liberation/LiberationSerif-Regular.ttf 0x2
Liberation Serif Regular loaded...
Loading Flags: 0x2
Outline Flags: 0x100

$ ./outflags /usr/share/fonts/liberation/LiberationSerif-Regular.ttf 0x20
Liberation Serif Regular loaded...
Loading Flags: 0x20
Outline Flags: 0   <<<<<< LOST IT

$ ./outflags /usr/share/fonts/liberation/LiberationSerif-Regular.ttf 0x0
Liberation Serif Regular loaded...
Loading Flags: 0
Outline Flags: 0x110

$ ./outflags /usr/share/fonts/default/Type1/n019003l.pfb 0x2
Nimbus Sans L Regular loaded...
Loading Flags: 0x2
Outline Flags: 0x104

$ ./outflags /usr/share/fonts/default/Type1/n019003l.pfb 0x20
Nimbus Sans L Regular loaded...
Loading Flags: 0x20
Outline Flags: 0   <<<<<<< LOST IT

$ ./outflags /usr/share/fonts/default/Type1/n019003l.pfb 0x0
Nimbus Sans L Regular loaded...
Loading Flags: 0
Outline Flags: 0x104

Let me know if you're certain which function needs fixing. I can try
to come up with a patch.

Alexei

Attachment: outflags.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]