https://bugs.kde.org/show_bug.cgi?id=421162

            Bug ID: 421162
           Summary: Falkon settings dialog resolves font aliases
           Product: Falkon
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: eugene.shalygin+bugzilla....@gmail.com
  Target Milestone: ---

SUMMARY

If Falkon is instructed to use font names that are fontconfig aliases, they are
resolved to the current real names when the font settings are opened the next
time. What's worse, it adds foundry names (example: "Tinos [GOOG]") and that
breaks font matching (e.g. "Tinos [GOOG]" resolves to Garamond Math).

STEPS TO REPRODUCE
1. Define a fontconfig alias for a font, for example as follows:
  <alias>
    <family>serif</family>
    <prefer>
      <family>Tinos</family>
    </prefer>
  </alias>

2. Use the defined alias in Falkon settings for any type of fonts.
3. Reopen the "Fonts" settings page.
4. Reload web page.

OBSERVED RESULT

The alias name is replaced with the resolved font name (and with appended
foundry name).

EXPECTED RESULT

User set font names are left intact. 
SOFTWARE/OS VERSIONS
Application version 3.1.99 (c725b5dd)
QtWebEngine version 5.15.0

Operating System: Gentoo 
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to