[ft-devel] a hidden gem: the autohint warper code

2011-02-27 Thread Collyer, Oliver, SI
Werner,

This looks interesting and I'll give it a go and feedback in due course, 
however are there any plans to make it warp in the y direction? It appears to 
be x-only unless I have misread the code on my brief foray into it. Was there a 
reason for this? Also, does it operate in tandem with existing hinting 
techniques, or as an alternative? Were/are there future plans to expand upon 
this concept?

The kind of rendering I am after is one where the shape of glyphs is retained 
as much as possible; so currently I use the light hinting mode to *only hint in 
the y direction and then rely on subpixel rendering to improve things in the x 
direction. I find this the best compromise; hinting in both directions just 
distorts things too much for my liking.

In terms of whether to activate the option I would think it better to make it 
optional, for the reasons specified above - some people are likely using the 
light hinting mode specifically because it only affects things vertically, and 
this might scupper that approach.

Of course, I am commenting without having really studied in detail the affects 
of enabling this option, though I can tell from your posted comparison that the 
warped text has significantly increased the overall length of the whole 
sentence.

Cheers

Oliver

*I have noticed however that inter-character spacing can still affected under 
LIGHT hinting, is that a bug?

==

Folks,


as mentioned in a previous post, the warper code of the autofit module
has been disabled a few years ago to get a clean release; later on,
David Turner has essentially stopped working on FreeType, and the code
hasn't been activated since then.

Furtunately, the code still works out of the box.  I ask you to define
the `AF_USE_WARPER' macro in src/autofit/aftypes.h to activate warping
for FT_RENDER_MODE_LIGHT.  It greatly enhances the `crispness' of
vertical stems; the attached images (using DejaVuSans.ttf) demonstrate
the difference.

Please comment.  I wonder whether this shall be activated again.


Werner


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


[ft-devel] out-dated text on freetype developer page

2011-02-27 Thread Miles Bader
The developer page on the freetype website says this:

If you are behind a Firewall which disables port 9418, you might try the 
slower HTTP protocol:
git clone http://git.sv.nongnu.org/r/freetype/freetype2.git
git clone http://git.sv.nongnu.org/r/freetype/freetype2-demos.git;

[ http://www.freetype.org/developer.html#anongit ]

... however, I don't think it's true anymore that using http: is
slower -- savannah now supports the git smart http protocol (which I
guess just channels the ordinary git-protocol over an http channel),
which is basically the same speed as git:.

So I'd recommend removing the word slower from that description.

Thanks,

-Miles

-- 
A zen-buddhist walked into a pizza shop and
said, Make me one with everything.


___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel


Re: [ft-devel] out-dated text on freetype developer page

2011-02-27 Thread Werner LEMBERG

 So I'd recommend removing the word slower from that description.

Done, thanks.


Werner

___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel