Open dumol opened 3 years ago
With
$ fc-match fantasy LobsterTwo-Regular.ttf: "Lobster Two" "Regular" $ fc-match cursive KaushanScript-Regular.ttf: "Kaushan Script" "Regular"
…which get picked up just fine by Firefox, I get "Oswald Heavy" picked up as Fantasy and "Comic Relief" as Cursive with Chrome. Tested with 89.0.4389.82 and many slighter older versions.
For reference, when using the 0.2 release from this repo:
$ fc-match -s fantasy LobsterTwo-Regular.ttf: "Lobster Two" "Regular" LiberationSans-Regular.ttf: "Liberation Sans" "Regular" PT-Sans_Regular.ttf: "PT Sans" "Regular" Ubuntu-R.ttf: "Ubuntu" "Regular" Ubuntu-Th.ttf: "Ubuntu" "Thin" D050000L.ttf: "D050000L" "Regular" Cinzel-ExtraBold.ttf: "Cinzel" "ExtraBold" Oswald-Light.ttf: "Oswald" "Light" TwitterColorEmoji-SVGinOT-ThickFallback.ttf: "Twitter Color Emoji" "Thick" URWGothic-Book.ttf: "URW Gothic" "Book" Cabin-Regular.ttf: "Cabin" "Regular" GilliusADFNo2-Regular.otf: "Gillius ADF No2" "Regular" tahoma.ttf: "Tahoma" "Regular" Font Awesome 5 Brands-Regular-400.otf: "Font Awesome 5 Brands" "Regular" Font Awesome 5 Free-Regular-400.otf: "Font Awesome 5 Free" "Regular" Aegean.ttf: "Aegean" "Regular" Musica.ttf: "Musica" "Regular" FSEX302-alt.ttf: "Fixedsys Excelsior" "Regular" VarelaRound-Regular.ttf: "Varela Round" "Regular" DejaVuMathTeXGyre.ttf: "DejaVu Math TeX Gyre" "Regular" DejaVuSerif.ttf: "DejaVu Serif" "Book" luculent.ttf: "Luculent" "Regular" Chivo-Regular.ttf: "Chivo" "Regular" GaramondLibre-Regular.otf: "Garamond Libre" "Regular" MaterialIcons.ttf: "Material Icons" "Regular" Symbola.ttf: "Symbola" "Regular" Unidings.ttf: "Unidings" "Regular" Nilus.ttf: "Nilus" "Regular" Monoid-Regular.ttf: "Monoid" "Regular" unifont-13.0.05.ttf: "Unifont" "Regular" Font Awesome 5 Free-Solid-900.otf: "Font Awesome 5 Free" "Solid" wingding.ttf: "Wingdings" "Regular"
$ fc-match -s cursive KaushanScript-Regular.ttf: "Kaushan Script" "Regular" LiberationSans-Regular.ttf: "Liberation Sans" "Regular" PT-Sans_Regular.ttf: "PT Sans" "Regular" Ubuntu-R.ttf: "Ubuntu" "Regular" Ubuntu-Th.ttf: "Ubuntu" "Thin" Felipa-Regular.ttf: "Felipa" "Regular" ComicRelief.ttf: "Comic Relief" "Regular" TwitterColorEmoji-SVGinOT-ThickFallback.ttf: "Twitter Color Emoji" "Thick" URWGothic-Book.ttf: "URW Gothic" "Book" Cabin-Regular.ttf: "Cabin" "Regular" GilliusADFNo2-Regular.otf: "Gillius ADF No2" "Regular" tahoma.ttf: "Tahoma" "Regular" Font Awesome 5 Brands-Regular-400.otf: "Font Awesome 5 Brands" "Regular" Font Awesome 5 Free-Regular-400.otf: "Font Awesome 5 Free" "Regular" Aegean.ttf: "Aegean" "Regular" OswaldHeavy-Regular.ttf: "Oswald Heavy" "Regular" Musica.ttf: "Musica" "Regular" FSEX302-alt.ttf: "Fixedsys Excelsior" "Regular" VarelaRound-Regular.ttf: "Varela Round" "Regular" DejaVuMathTeXGyre.ttf: "DejaVu Math TeX Gyre" "Regular" DejaVuSerif.ttf: "DejaVu Serif" "Book" luculent.ttf: "Luculent" "Regular" Chivo-Regular.ttf: "Chivo" "Regular" GaramondLibre-Regular.otf: "Garamond Libre" "Regular" NotoMono-Regular.ttf: "Noto Mono" "Regular" MaterialIcons.ttf: "Material Icons" "Regular" Symbola.ttf: "Symbola" "Regular" Unidings.ttf: "Unidings" "Regular" Nilus.ttf: "Nilus" "Regular" Monoid-Regular.ttf: "Monoid" "Regular" unifont-13.0.05.ttf: "Unifont" "Regular" Font Awesome 5 Free-Solid-900.otf: "Font Awesome 5 Free" "Solid" D050000L.ttf: "D050000L" "Regular" wingding.ttf: "Wingdings" "Regular"
Still an issue with Chrome 110.
But interestingly not with QTWebEngine using embedded Chromium. I've tried QtWebEngine/5.15.7 and QtWebEngine/5.15.8 (the latter through Flatpak).
With
…which get picked up just fine by Firefox, I get "Oswald Heavy" picked up as Fantasy and "Comic Relief" as Cursive with Chrome. Tested with 89.0.4389.82 and many slighter older versions.
For reference, when using the 0.2 release from this repo: