Page 1 of 1

Add Fonts

Posted: 18 Sep 2015, 10:59
by chkchaitu
Hi, we are using a font Wingdings in our web application. This font seems to be Microsoft font which I came to know from Google. I have added these fonts to fonts.xzm but this seems to be NOT working.

Because of this some Symbols are not visible on the web page.

Any help on this will be a great.

Re: Add Fonts

Posted: 18 Sep 2015, 12:06
by fanthom
Hello chkchaitu,

Is your web application available publicly? If yes then please post an URL so i can check this myself.

Thank you.

Re: Add Fonts

Posted: 18 Sep 2015, 21:19
by chkchaitu
Hi Fanthom, thank you for the quick response as always :D

Unfortunately this is not publicly available web app. Its an app that runs inside our Lab.

Is there any other way I can provide info that is required to help me.

Re: Add Fonts

Posted: 19 Sep 2015, 10:31
by fanthom
Please do as follows:
Open Firefox on Linux/Windows and navigate to your webapp -> force your own font settings -> find relevant preference names in $profile/prefs.js -> add preferences to kiosk ISO

For example these are needed to force Windows fonts on my box:

Code: Select all

user_pref("browser.display.use_document_fonts", 0);
user_pref("font.name.sans-serif.x-western", "Arial");
user_pref("font.name.serif.x-western", "Century Schoolbook L");
First pref forces your own fonts over these selected by the webpages.

Re: Add Fonts

Posted: 17 Oct 2015, 09:20
by chkchaitu
Hi sorry for the delayed response. was caught up with other priorities.

I even tried on Porteus-KDE4-v3.1-i486 with Firefox with no luck. I tried installing Wingdings Fonts, Fonts got installed without any error, still no luck with Firefox.

Below is how symbols look when we use Firefox on Linux and Firefox on Windows

1. Firefox on Linux/Porteus-Kiosk/Porteus/Ubuntu - Symbols do not show up

Image


2. Firefox on Windows (7,8,8.1,2012) - Symbols show up properly

Image

Fonts can be downloaded from this link https://chaitu.in/web-post-links/fonts.zip

Re: Add Fonts

Posted: 17 Oct 2015, 17:06
by chkchaitu
Hi, Can I use rpm2xzm tool as referred in the link ( http://forum.porteus.org/viewtopic.php?f=103&t=2886 ) and use rpm downloaded from http://olea.org/paquetes-rpm/repoview/msfonts.html and use it with kiosk.

Re: Add Fonts

Posted: 18 Oct 2015, 03:05
by francois
Yes. It should work as these are only find. But there is nothing better than trying it.

And:
viewtopic.php?f=117&t=2476