X
Tap here to go to the mobile version of the site.

Support Forum

Firefox on Linux incorrect font-family css

  • No replies
  • 1 has this problem
  • 1 view
Posted

A few weeks ago I started to use Linux (OpenSuse) - and my beloved Firefox (on Linux) - and - since I am also a creator of my own Website - I went to see - how does look my website on Linux - and - on Firefox for Linux users....

Of course - Fonts look a little bit different on Linux compared to Windows, but also CSS font-family code works very different:

(I have been already complaining about his to coders http://stackoverflow.com/questions/39069299/google-web-font-import-doesnt-work-at-end-of-stack )

- to repeat:

1. first I discovered problem with Google Webfonts imported:

font-family: "Palatino Linotype", Palatino, "Book Antiqua", 'Sahitya', Georgia, serif; // Sahitya - doesn't work;

BUT

font-family: "Palatino Linotype", 'Sahitya', Palatino, "Book Antiqua", Georgia, serif; // Sahitya - work -

//placed after a font-name consisting of 2+ words in quotes; but - it doesn't work in font stack - if Sahitya placed After a font-name of single word without Quotations;

NEXT: You say - OK, there may be something wrong with imported Google webfonts; but How about Native Linux Fonts (System+LibreOffice fonts)?! - The same story.....

font-family: Palatino, Carlito; // - doesn't work;

font-family: "Two Words", Carlito; // - work good;

ALSO:

font-family: "Palatino Linotype", Carlito, "URW Palladio l"; // - (Palatino Linotype - missing on Linux) - work Carlito;

font-family: "Palatino Linotype", Palatino, Carlito, "URW Palladio l"; // - work "URW Palladio l" (not Carlito, because it follows Palatino - single word;)

font-family: Carlito, "Palatino Linotype", "URW Palladio l"; // in 1st position - any existing font-family works;

A few weeks ago I started to use Linux (OpenSuse) - and my beloved Firefox (on Linux) - and - since I am also a creator of my own Website - I went to see - how does look my website on Linux - and - on Firefox for Linux users.... Of course - Fonts look a little bit different on Linux compared to Windows, but also CSS font-family code works very different: (I have been already complaining about his to coders http://stackoverflow.com/questions/39069299/google-web-font-import-doesnt-work-at-end-of-stack ) - to repeat: 1. first I discovered problem with Google Webfonts imported: font-family: "Palatino Linotype", Palatino, "Book Antiqua", 'Sahitya', Georgia, serif; // Sahitya - doesn't work; BUT font-family: "Palatino Linotype", 'Sahitya', Palatino, "Book Antiqua", Georgia, serif; // Sahitya - work - //placed after a font-name consisting of 2+ words in quotes; but - it doesn't work in font stack - if Sahitya placed After a font-name of single word without Quotations; NEXT: You say - OK, there may be something wrong with imported Google webfonts; but How about Native Linux Fonts (System+LibreOffice fonts)?! - The same story..... font-family: Palatino, Carlito; // - doesn't work; font-family: "Two Words", Carlito; // - work good; ALSO: font-family: "Palatino Linotype", Carlito, "URW Palladio l"; // - (Palatino Linotype - missing on Linux) - work Carlito; font-family: "Palatino Linotype", Palatino, Carlito, "URW Palladio l"; // - work "URW Palladio l" (not Carlito, because it follows Palatino - single word;) font-family: Carlito, "Palatino Linotype", "URW Palladio l"; // in 1st position - any existing font-family works;

Modified by zambala