LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-25-2019, 08:07 AM   #1
Tuxqi
Member
 
Registered: Apr 2009
Posts: 49

Rep: Reputation: 2
Wingdings/Symbol/etc font issue


I am having issues with glyph type fonts such as Wingdings (1, 2 and 3), Symbol, Webdings and possibly others.

Most programs just don't seem to display them properly or at all.


I normally wouldn't really care as I rarely use them but I was playing an old Windows game via WINE and some of the stuff in there uses wingdings and symbol fonts. I thought it might have been just a WINE issue and copied the fonts over to the fake C drive. That didn't help.

So I looked into my system fonts more.

If I try using wingdings or symbol in LibreOffice, any character typed just appears as normal latin character (Although the preview text works fine). The same behaviour happens with GIMP

If I try the fonts in Kolorpaint then Symbol does work but Wingdings just types the unknown character square boxes.

If I view all my fonts in KDE's 'Font Management' the standard preview for those fonts shows blank characters for Wingdings and boxes for Symbol. If I tell it to show all characters it displays them.

If I just view the fonts individually with just 'KFontview' then both previews work fine for all the fonts.

I'm guessing something somewhere is causing a conflict and I have no idea what.

Only things I have really tried is removing them and reinstalling different versions

Last edited by Tuxqi; 05-25-2019 at 08:13 AM.
 
Old 05-25-2019, 09:16 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
You need to use an unicode font that includes glyphs for these characters. Not all do.
 
Old 05-25-2019, 09:19 AM   #3
Tuxqi
Member
 
Registered: Apr 2009
Posts: 49

Original Poster
Rep: Reputation: 2
I think you have misunderstood the problem.


The problem is the fonts do not seem to be functioning properly.

Typing ABC in wingdings for example, should just type the glyphs that have the ASCII/UTF etc values of ABC.
 
Old 05-26-2019, 04:00 AM   #4
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

If you encounter this under slackware 14.2, this is because of this bug in fontconfig which was fixed in fontconfig 2.11.93 (14.2 comes with 2.11.1). since -current comes with fontconfig 2.13.1, it is not affected.


Edit: You can fix this with this patch. To apply it you need to proceed as below :

1. Download fontconfig source and the patch :
Code:
$ lftp -c "open http://ftp.slackware.com/pub/slackware/slackware64-14.2/source/x/ ; mirror fontconfig/"

$ cd fontconfig

$ wget https://github.com/freedesktop/fontconfig/commit/d6d5adeb7940c0d0beb86489c2a1c2ce59e5c044.patch
2. in directory fontconfig, open fontconfig.SlackBuild, then, at line 82, add the following statement :

Code:
patch -p1<${CWD}/d6d5adeb7940c0d0beb86489c2a1c2ce59e5c044.patch
3. as root, go in directory fontconfig, then execute the following :
Code:
$ . /etc/profile.d/tetex.sh
$ BUILD=3 sh fontconfig.SlackBuild
$ upgradepkg /tmp/fontconfig-2.11.1-x86_64-3.txz
Note: it is required to 'source' /etc/profile.d/tetex.sh otherwise fontconfig fails to build with an error about pdfjadetex.

4. Done.

--
SeB

Last edited by phenixia2003; 05-26-2019 at 04:54 AM.
 
1 members found this post helpful.
Old 05-26-2019, 04:41 AM   #5
Tuxqi
Member
 
Registered: Apr 2009
Posts: 49

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by phenixia2003 View Post
Hello,

If you encounter this under slackware 14.2, this is because of this bug in fontconfig which was fixed in fontconfig 2.11.93 (14.2 comes with 2.11.1). since -current comes with fontconfig 2.13.1, it is not affected.

--
SeB

I see. Do you know if its safe to compile/upgrade the package manually or will it break stuff?
 
Old 05-26-2019, 04:56 AM   #6
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by Tuxqi View Post
I see. Do you know if its safe to compile/upgrade the package manually or will it break stuff?
I edited my previous message with instructions about that. I tried it on a VM and didn't encounter any issue. However, in case you have trouble, you could anyway reinstall the original fontconfig package.


--
SeB
 
Old 05-26-2019, 09:01 AM   #7
olear
Member
 
Registered: Jan 2006
Location: Norway
Distribution: Slackware
Posts: 42

Rep: Reputation: 32
Quote:
Originally Posted by phenixia2003 View Post
Hello,

If you encounter this under slackware 14.2, this is because of this bug in fontconfig which was fixed in fontconfig 2.11.93 (14.2 comes with 2.11.1). since -current comes with fontconfig 2.13.1, it is not affected.
Why have not this been fixed in 14.2? (the patch is simple).
 
Old 05-26-2019, 06:09 PM   #8
Tuxqi
Member
 
Registered: Apr 2009
Posts: 49

Original Poster
Rep: Reputation: 2
Well I instead ran the slackbuild in source to compile 2.11.95 and it does seem to have fixed the problem. Also made a compat32 version to upgrade that.


GIMP, Kolourpaint and Firefox all seem to be working fine with those fonts.

However LibreOffice still doesn't seem to work with them. I can only assume it's either using some cache somewhere or it has to be built with the patched/upgraded version of fontconfig. However I don't need to use those fonts in that program so not a big deal for me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the differences between the normal symbol table, the dynamic symbol table, and the debugging symbol table? watchintv Linux - Software 5 10-22-2016 08:38 AM
UNDEFINED SYMBOL!! though the symbol defined in System.map raklo Programming 3 01-05-2011 02:52 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM
./firefox-bin: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_s cb8100 Slackware 3 10-05-2006 10:55 AM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration