简体   繁体   中英

How do I get ligatures in Google Font API to display in Google Chrome?

I'm using Google Font API to display my website logo. (See top of stolencamerafinder.com )

In Chrome the letters 'f' and 'i' appear seperately, but in FireFox, they are a nice joined ligature

How do I force Chrome to use the ligature?

If I use the ligature ascii character (fi) in the html then it doesn't use the font, it falls back to arial, yet the font ( OFL Sorts Mill Goudy TT ) must support that ligature since firefox displays it.

Update : I ended up ditching Google font API in favour of plain @font-face. More choice on fontsquirrel.com anyway.

Short answer: This feature isn't implemented yet.

Long answer: Take a look at http://crbug.com/22240 ( http://crbug.com/64479 might also be interesting).

Is it possible that in webkit browsers this property wasn't yet devoloped? Or is it a problem of the type of font used by webkit browsers? ( TrueType , Woff instead of Opentype )?

EDIT: In Safari this works with some fonts that support ligatures. For example it works with the default browser font (Times on Mac Os X), while it doesn't work with a couple of Google fonts I was trying with @font-face CSS feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM