Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fontconfig
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 170
    • Issues 170
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fontconfig
  • fontconfig
  • Issues
  • #211

Closed
Open
Created Dec 13, 2019 by Fredrick Brennan@ctrlcctrlv

Fontconfig scores the number of glyphs too highly

I am a font developer. I have a font called TT2020, I am making an italic for it.

TT2020 supports many character sets; beyond Latin it supports Cyrillic, Greek, Armenian, Hebrew (with nekudot), some IPA glyphs, and so on. It is likely that the Italic will only cover Cyrillic and, at maximum, perhaps basic Hebrew if I find the time.

I finished basic Latin for the Italic and ran into a problem: fontconfig will never choose the Italic as it scores the number of glyphs too highly, meaning even when queried as fc-match -s TT2020Base:style=Italic, "TT2020Base" "Regular" finds itself on top.

Correct output:

2019-12-13-163314_1460x587_scrot

Incorrect output:

2019-12-13-163946_1497x465_scrot

I have attached a ZIP file containing the files TT2020Base-Regular.ttf, TT2020Base-Italic.ttf and TT2020Base-RegularF.ttf. ‹F› here stands for Full; when it is installed, no application will ever use the Italic, but when the pared down version is installed, the Italic works fine.

Please advise.for_the_fontconfig_developers.zip

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking