https://bugzilla.redhat.com/show_bug.cgi?id=1823637

Akira TAGOH <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?([email protected]) |



--- Comment #15 from Akira TAGOH <[email protected]> ---
Sorry for late response, I was away from my computer for a while.

(In reply to Hans Ulrich Niedermann from comment #14)
> Let me try to summarize this bug's discussions with my limited understanding
> of the font software stack:
> 
>   1. The original poster mainly had an issue with fontconfig/ostree which
> resulted in his gnome-terminal dialog showing only small rectangular glyphs
> instead of "Terminus Medium", "Terminus Bold", and the
> invented-by-the-software-stack "Terminus Bold Italic". This appears to have
> been solved over in fontconfig/ostree land, so the main part of this bug
> looks like a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1750891 to me, and definitively
> outside the scope of what the terminus-fonts package is responsible for.

Not exactly. this isn't ostree specific. when system has same font families in
different formats, fontconfig prioritize them from various aspects though,
FC_FONTFORMAT which is a priperty in cacche containing the font format is one
of factors. but it do compare strings so far. so there are the case that
fontconfig returns a bitmap font as the best font instead of OpenType and
applications didn't just support the synthethic emboldening for such fonts.

I thought so far fontconfig could intentionally gives a lower priority to
bitmap fonts than OpenType fonts though, someone may also intentionally wants
to use bitmap fonts rather than OpenType fonts. I need to think about how to
implement it. thus, conditionally installing one of them in the packaging level
was a workaround.

>   2. The original poster also had a completely different issue with what
> Akira TAGOH calls Pango/freetype in which the presence of *.pcf.gz files
> breaks the "Terminus Italic" invented by what appears to be pango/freetype.
> As this issue has been reappearing and is going to reappear until the last
> piece of software using pre-pango font rendering has disappeared from at
> least Fedora, if not the planet, I have created
> https://bugzilla.redhat.com/show_bug.cgi?id=1827905 to track that part. So
> the secondary part of this bug looks like a duplicate of 1827905 to me.

Right. but that "the secondary part" is actually main thing for this. the
comment#1 and relevant comments were the off-topic for this.

> Akira TAGOH, sorry to bother you again here, but you appear to be the one
> with the knowledge to actually help with this. I would not even know where
> to start reading documentation.

Sorry for that. that is one of my tasks I need to improve fontconfig
documentation.

> You have mentioned above "Disable embolden flag for certain apps". Where
> would this flag be located? And in this case, terminus-fonts already
> provides "Terminus Medium" and "Terminus Bold", so I cannot se where
> "embolden" should play a part here, but might there be a "italicize" flag
> somewhere? Maybe an "italicizes flag for certain fonts"? That could prevent
> the secondary issue number 2.

Well, enumerating everything in config isn't actually realistic but one could
do for example (not tested):

<match>
  <test name="family"><string>Terminus</string></test>
  <test name="prgname"><string>gnome-terminal</string></test>
  <edit name="fontformat" mode="prepend"><string>TrueType</string></edit>
</match>

As I commented for 1., this should be fixed/improved in fontconfig as well...


-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to