fabrizioschiavi / pragmatapro

PragmataPro font is designed to help pros to work better
https://www.fsd.it/shop/fonts/pragmatapro/
1.4k stars 40 forks source link

Are glyphs exactly double width? #15

Closed jordwalke closed 8 years ago

jordwalke commented 8 years ago

I saw the following issue with emacs' mac port, which occurs with other ligature programming fonts: https://github.com/railwaycat/emacs-mac-port/issues/96

I believe that people building editors have to be careful to not disrupt layout of lines when ligatures are present. Wouldn't this automatically work itself out if => was rendered as a single glyph that had double width, with the arrow glyphs centered perfectly? Is this how pragmatapro works right now? Should it?

fabrizioschiavi commented 8 years ago

Correct. PragmataPro has the most part of glyphs with the width 1060em, ligatures are 2120em (x2) and 3180em (x3). Unfortunately I found troubles with the contemporary antialiasing systems. Often the rasterization of the widths is almost random Anyway I'll check if is possible to avoid these issues Thanks!