Add Fonts

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
chkchaitu
Black ninja
Black ninja
Posts: 33
Joined: 06 Apr 2015, 10:32
Distribution: Porteus-Kiosk
Location: Bangalore, India

Add Fonts

Post#1 by chkchaitu » 18 Sep 2015, 10:59

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.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Add Fonts

Post#2 by fanthom » 18 Sep 2015, 12:06

Hello chkchaitu,

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

Thank you.
Please add [Solved] to your thread title if the solution was found.

chkchaitu
Black ninja
Black ninja
Posts: 33
Joined: 06 Apr 2015, 10:32
Distribution: Porteus-Kiosk
Location: Bangalore, India

Re: Add Fonts

Post#3 by chkchaitu » 18 Sep 2015, 21:19

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.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Add Fonts

Post#4 by fanthom » 19 Sep 2015, 10:31

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.
Please add [Solved] to your thread title if the solution was found.

chkchaitu
Black ninja
Black ninja
Posts: 33
Joined: 06 Apr 2015, 10:32
Distribution: Porteus-Kiosk
Location: Bangalore, India

Re: Add Fonts

Post#5 by chkchaitu » 17 Oct 2015, 09:20

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

chkchaitu
Black ninja
Black ninja
Posts: 33
Joined: 06 Apr 2015, 10:32
Distribution: Porteus-Kiosk
Location: Bangalore, India

Re: Add Fonts

Post#6 by chkchaitu » 17 Oct 2015, 17:06

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.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Add Fonts

Post#7 by francois » 18 Oct 2015, 03:05

Yes. It should work as these are only find. But there is nothing better than trying it.

And:
viewtopic.php?f=117&t=2476
Prendre son temps, profiter de celui qui passe.

Locked