[Fontconfig] [PATCH] don't artificially embolden fixed-width fonts
Adam Williamson
awilliam at redhat.com
Tue Feb 10 11:27:07 PST 2015
On Tue, 2015-02-10 at 11:00 -0800, Adam Williamson wrote:
> It changes the width. The key thing about a fixed-width font
> is...it's fixed width. If someone's using one, they almost
> certainly don't want an artificial bold face that uses wider
> characters. This is a major pain when using a text editor that uses
> bold face for syntax highlighting, and affects two widely- used
> monospace fonts which have no native bold face, Droid
> Sans Mono and Inconsolata.
I'll note that back in 2012, infinality claimed that his patchset
somehow did artificial emboldening without widening the glyphs:
http://lists.freedesktop.org/archives/fontconfig/2012-January/003731.html
but good lord, I have no idea where to start digging in that mess to
try and figure out how he did it. Implementing some kind of artificial
bold for freetype that doesn't change character widths would be an
obvious alternative to this if someone wanted to do it.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
More information about the Fontconfig
mailing list