https://bugzilla.redhat.com/show_bug.cgi?id=1226433
--- Comment #1 from Marek Kašík <mkasik(a)redhat.com> ---
Created attachment 1033398
-->
https://bugzilla.redhat.com/attachment.cgi?id=1033398&action=edit
fontconfig patterns
This is probably not a bug. But I'm not sure so I'm reassigning this to
fontconfig for their expertise (if this is a bug then a fontconfig one from my
point of view).
Basically you are doing this:
pango-view --dpi=96 --font="Terminus 15" --text="[int13h@d500 ~]$
fc-ca"
--background=black --foreground=gray
For which fontconfig returns this font
'/usr/share/fonts/terminus/ter-116n.pcf.gz' (size 16). I'm not sure why it
doesn't return the '/usr/share/fonts/terminus/ter-120n.pcf.gz' because it is
72dpi equivalent of the font of size of 15 for 96dpi.
I've printed FcPattern passed to fontconfig and the resulting FcPattern in
pango's pango_fc_patterns_get_font_pattern() function. You can find them in the
attached file. The file shows that fontconfig actually gives us the font of
size 16 even if we pass to it request for a font of pixel size 20 (size 15).
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=dQUaCNDk7N&a=cc_unsubscribe