doy / runes

a modern terminal client
Other
35 stars 1 forks source link

figure out how font specifications in pango work #48

Closed doy closed 10 years ago

doy commented 10 years ago

Why does "7x14" not work? It seems like the only way to actually get that font is via "Fixed 10.5", which seems less than ideal.

doy commented 10 years ago

"Fixed 14px" works, which seems good enough. Pango does allow you to use fontconfig/xft font specifications too (via pango_fc_font_description_from_pattern), but I don't know that it's particularly worthwhile, especially since it would add another platform-dependent thing. If the current situation actually causes problems for people, we can revisit this, but for now, I don't think it's worth changing.

jmarca commented 9 years ago

Gave a quick build/run whirl to this, and ran into a font issue. On my retina display macbook pro (running linux) runes has the unreadably small font problem common with HiDPI machines. I typically use

  Xft*dpi:              150

in my .Xdefaults file to get around this, but I gather that means using xft fonts, which you mention not implementing above.