[ft-devel] Alignment of top of capital letters to pixel grid, autohinter often 1 pixel off compared to unhinted outline

2015-09-21 Thread Nikolaus Waxweiler
While testing Alexei's scaling trick, I rediscovered an old source of irritation (apart from the barely visible dot on the "i"). 1. Download https://www.google.com/fonts#UsePlace:use/Collection:Open+Sans 2. Load OpenSans-Regular.ttf in ftview, look at sizes 10, 13, 15, 19 3. Press A and B and

Re: [ft-devel] Autohinter: stem darkening, first rough prototype

2015-09-21 Thread Nikolaus Waxweiler
(repost to the list because I forgot to correct the addressee) > This `fix' is purely accidental, unfortunately. There is no guarantee that you get similar well-looking results with other fonts. I noticed already, Open Sans Bold likes to snap 1 pixel too high. You might convert metric

Re: [ft-devel] Autohinter: stem darkening, first rough prototype

2015-09-21 Thread Nikolaus Waxweiler
Emboldening changes the outline but not the metrics or blue zones. It is up on you to deal with it. Here is an idea to brush it aside gracefully: embolden and scale back. Yes, emboldenig changes the bounding box predictably, so that you can restore it by scaling back. This will eat away some of

Re: [ft-devel] Font that freetype doesn't want to open

2015-09-21 Thread suzuki toshiya
Albert Astals Cid wrote:: El Dilluns, 21 de setembre de 2015, a les 13:32:18, suzuki toshiya va escriure: However, I don't know how Adobe Reader handles a PDF including such font. Yet I'm not sure whether FreeType2 should care, or, poppler should, but, if Adobe Reader opens it without any font

Re: [ft-devel] Font that freetype doesn't want to open

2015-09-21 Thread Albert Astals Cid
El Dilluns, 21 de setembre de 2015, a les 13:32:18, suzuki toshiya va escriure: > Dear Albert, > > As > http://www.microsoft.com/typography/otspec/otff.htm#otttables > says, hmtx is "required" table for self standing font. > > Also >

Re: [ft-devel] Autohinter: stem darkening, first rough prototype

2015-09-21 Thread Alexei Podtelezhnikov
On Mon, Sep 21, 2015 at 8:19 AM, Nikolaus Waxweiler wrote: >> Or maybe >> you extend the blue zone data structures with resolution-dependent >> versions that you can adjust for emboldening. > > > Hm. You mean taking the emboldening strength in font units and adjusting > the