Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Acroread: Cannot find or create the font 'Arial'.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Thu Apr 19, 2007 1:17 pm    Post subject: Acroread: Cannot find or create the font 'Arial'. Reply with quote

For some pdf documents, when opened with acroread-7.0.9-r1 I get the following popup:

Cannot find or create the font 'Arial'. Some characters may not display or
print correctly.


And then the document of course is unreadable. As Adobe's bug description is for an older version and not for Linux it wouldn't help me.
Maybe somebody here can help me solving this bug?
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Thu Apr 19, 2007 1:41 pm    Post subject: Reply with quote

emerge -pv corefonts

Then in /etc/X11/xorg.conf add the directory with the corefonts to the fonts section.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Sun Apr 22, 2007 3:18 pm    Post subject: Reply with quote

Thanks for your attention.

I have always had media-fonts/corefonts emerged and in the "Files" Section of my /etc/X11/xorg.conf file. Should there be a separate "Fonts" section?

The problem still remains. Any idea what else I could do to get it solved?
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Apr 22, 2007 3:28 pm    Post subject: Reply with quote

In your xorg.conf you should have
Code:
Section "Files"
...
    FontPath        "/usr/share/fonts/corefonts/"
You can check that Xorg sees them by looking at /var/log/Xorg.0.log, you should see something like
Code:
(**) FontPath set to:
        /usr/share/fonts/corefonts/,
        /usr/share/fonts/dejavu/,
        /usr/share/fonts/ttf-bitstream-vera/,
        /usr/share/fonts/aquapfont/,
        /usr/share/fonts/kochi-substitute/,
        /usr/share/fonts/mikachan-font/,
        /usr/share/fonts/cronyx/100dpi/,
        /usr/share/fonts/cronyx/75dpi/,
        /usr/share/fonts/cyrillic/,
        /usr/share/fonts/freefonts/,
        /usr/share/fonts/intlfonts/,
        /usr/share/fonts/sharefonts/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/misc/,
        /usr/share/fonts/75dpi/,
        /usr/share/fonts/100dpi/
(though you may not be such a fontaholic :) )

If it isn't there, look in /usr/share/fonts/corefonts for fonts.scale and fonts.dir — these should have been installed by media-fonts/corefonts.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Sun Apr 22, 2007 3:47 pm    Post subject: Reply with quote

What I am having in /etc/X11/xorg.conf is
Code:
Section "Files"
    FontPath   "/usr/share/fonts/misc:unscaled"
    FontPath   "/usr/share/fonts/Type1"
    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/corefonts"
    FontPath   "/usr/share/fonts/freefont"
    FontPath   "/usr/share/fonts/sharefonts"
    FontPath   "/usr/share/fonts/terminus"
    FontPath   "/usr/share/fonts/unifont"
    FontPath   "/usr/share/fonts/75dpi:unscaled"
    FontPath   "/usr/share/fonts/100dpi:unscaled"
#    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/artwiz"
EndSection
and in /var/log/Xorg.0.log there is
Code:
(**) FontPath set to:
   /usr/share/fonts/misc:unscaled,
   /usr/share/fonts/Type1,
   /usr/share/fonts/TTF,
   /usr/share/fonts/corefonts,
   /usr/share/fonts/sharefonts,
   /usr/share/fonts/terminus,
   /usr/share/fonts/unifont,
   /usr/share/fonts/75dpi:unscaled,
   /usr/share/fonts/100dpi:unscaled,
   /usr/share/fonts/artwiz
and also fonts.scale and fonts.dir are listed in /usr/share/fonts/corefonts.

I cannot see anything what's misconfigured or missing. Still appreciate your help.
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sun Apr 22, 2007 5:01 pm    Post subject: Reply with quote

Perhaps it's a RTFM type problem :)

I've gone into Help / Adobe Reader Help F1 / Index / Fonts and found something that may be useful
Quote:
The Fonts Panel lists the fonts and the font types used in the original document, and the fonts, font types, and encoding used to
display the original fonts. If substitute fonts are used and you arenot satisfied with their appearance, you may want to install the original fonts on your system or ask the document creator to re-create the document with the original fonts embedded in it. In addition to installing the fonts, you'll need to add the path to the font's directory to the PSRESOURCEPATH variable, which the Adobe Reader reads at startup. CoolType caches any font in that directory to be used for font substitution later.
You might like to try setting this environment variable and see what happens.
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Tue Apr 24, 2007 9:14 am    Post subject: Reply with quote

Thanks for reminding me of the Acroread help file. From the document's properties I have got some more information regarding the fonts used there.
Code:
Arial
   Type: TrueType
   Encoding: Ansi
   Actual Font: Unknown
Copying and pasting those unreadable content into other applications turns it readable. Also xpdf displays those documents without problems.
Only acroread cannot display those characters correctly. Is this a bug in acroread or is it just bad coding in the pdf document?
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Tue Apr 24, 2007 10:21 am    Post subject: Reply with quote

It's probably a Microsoft encoding and the PDF has been created by a Microsoft app. From /usr/share/fonts/corefonts/encodings.dir
Code:
microsoft-cp1258 /usr/share/fonts/encodings/microsoft-cp1258.enc.gz
microsoft-cp1257 /usr/share/fonts/encodings/microsoft-cp1257.enc.gz
microsoft-cp1256 /usr/share/fonts/encodings/microsoft-cp1256.enc.gz
microsoft-cp1255 /usr/share/fonts/encodings/microsoft-cp1255.enc.gz
microsoft-cp1254 /usr/share/fonts/encodings/microsoft-cp1254.enc.gz
microsoft-cp1253 /usr/share/fonts/encodings/microsoft-cp1253.enc.gz
microsoft-ansi /usr/share/fonts/encodings/microsoft-cp1252.enc.gz
microsoft-cp1252 /usr/share/fonts/encodings/microsoft-cp1252.enc.gz
microsoft-cp1251 /usr/share/fonts/encodings/microsoft-cp1251.enc.gz
microsoft-cp1250 /usr/share/fonts/encodings/microsoft-cp1250.enc.gz
so Microsoft ANSI appears to be equivalent to microsoft-cp1252.

Beyond that, I'm afraid I can't suggest any further avenues to explore :(
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
anz
Apprentice
Apprentice


Joined: 05 Feb 2003
Posts: 279
Location: Vienna

PostPosted: Tue Sep 04, 2007 12:21 pm    Post subject: Reply with quote

I 've searched a little bit (because of the same arial-font-in-acreoread-error) and found a similar problem with Adobe Acrobat on windows:
http://kb.adobe.com/selfservice/viewContent.do?externalId=332372&sliceId=2
... but I also have still no idea ...
_________________
Greetings from Vienna
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum