Skip to content

Fallback list in select_best_match #62

@RazrFalcon

Description

@RazrFalcon

Currently, fonts for sans/serif/monospace/fantasy/etc. are hardcoded for Win and Mac. And there are only one font for each type.

The problem is that it doesn't guarantee that this font is present. For example, a default Win10 contains the Impact font, but the one used by TravisCI - doesn't.

Here is the list of font families available in a Travis instance:

  • Arial
  • Bahnschrift
  • Calibri
  • Cambria
  • Cambria Math
  • Comic Sans MS
  • Consolas
  • Courier New
  • Ebrima
  • Gadugi
  • Georgia
  • Ink Free
  • Javanese Text
  • Leelawadee UI
  • Lucida Console
  • Malgun Gothic
  • Microsoft Himalaya
  • Microsoft JhengHei
  • Microsoft JhengHei UI
  • Microsoft New Tai Lue
  • Microsoft PhagsPa
  • Microsoft Tai Le
  • Microsoft YaHei
  • Microsoft YaHei UI
  • Microsoft Yi Baiti
  • Mongolian Baiti
  • MV Boli
  • Myanmar Text
  • Nirmala UI
  • Segoe MDL2 Assets
  • Segoe Print
  • Segoe UI
  • Segoe UI Emoji
  • Segoe UI Historic
  • Segoe UI Symbol
  • SimSun
  • NSimSun
  • Times New Roman
  • Trebuchet MS
  • Verdana
  • Webdings
  • Wingdings
  • Yu Gothic
  • Yu Gothic UI

Not sure with one we can use as fantasy. Maybe Ink Free?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions