LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 07-16-2013, 07:26 AM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Fonts issue in Adobe Acrobat


I have this irritation in viewing pdfs. Confidential files which are made as word processor docs (perhaps using m$ calibri font) and then exported to pdf end up using this bizarre, ultra light and nearly illegible font in Adobe Acrobat. In the middle of each paragraph is likely to be a single line in a sensible font.

They view perfectly in xpdf, but xpdf freaks my printer. Adobe Acrobat prints ok usually, because some other postscript font is substituted.

I'd love to fix it, so that I see something legible. HOW?

EDIT: Just to mention. Adobe Reader's fonts are symlinked to /usr/share/fonts/Type1 = same as ghostscript.

Last edited by business_kid; 07-16-2013 at 07:41 AM.
 
Old 07-16-2013, 11:25 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
No idea if this is any use, but have you got Calibri (+ other M$ fonts) installed? Alien Bob has a SlackBuild that gets them (needs cabextract):
http://connie.slackware.com/~alien/s...cefonts/build/
 
Old 07-16-2013, 01:20 PM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Original Poster
Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Well, I tried installing Calibri. It's a ~TTF (Word Processor) version, installing to /usr/share/fonts/TTF. Adobe Reader is using Postscript fonts, .afm, .pfa, .pfm from /usr/share/fonts/Type1.

Adobe cannot use that particular font. All fonts encountered are mapped to one of the postscript fonts, and it's choice is irritating me mightily. The attachment hopefully shows a bit of bad font, and a bit of the single good line in big paragraphs. I want to switch the crappy font for, anything postscript.
Attached Images
File Type: png Sample_text.png (6.5 KB, 7 views)
 
Old 07-17-2013, 07:53 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Original Poster
Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Just a quick note to add.
1. I tried assembling a pdf on Calibri and I'm right - that particular substitution is the issue.

2. ghostscript and Adobe use the same critical CMap files
 
Old 07-17-2013, 09:40 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,139
Blog Entries: 52

Rep: Reputation: Disabled
How does it look in and print fom Okular? I've never used Adobe Acrobat, or viewed any pdfs exported from M$ docs. Keep your fingers crossed that someone else has noticed this thread.
 
Old 07-17-2013, 03:40 PM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,228

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
If the font is embedded, then you're stuck. But if it's not, then all you need is a Type 1 version of it. If you keep getting this stuff and are desperate enough, it's worth getting Fontforge and converting the ttf.
 
Old 07-18-2013, 06:51 AM   #7
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Original Poster
Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Well, I checked my files, and I'm totally wrong. Calibri does show up in this crappy Postscript font, but I don't see Calibri in use. There's a letterhead and text in these. I'm seeing Arial, Times New Roman, and Garamond, and a few other windows fonts. They are also turning up in this crappy postscript font - and I want them to show in some other crappy postscript font. Here is a section of output from a directory full of these files. The command I used was
grep -ah Font filename.pdf
and I'm seeing this from one of the offending files. They have a header in blue, text and an imaged signature, with occasional Italics, Bold & caps.
Code:
<</Type/Page/Parent 2 0 R/Resources<</Font<</F1 5 0 R/F2 7 0 R/F3 9 0 R/F4 11 0 R/F5 13 0 R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/MediaBox[ 0 0 595.32 841.92] /Contents 4 0 R/Group<</Type/Group/S/Transparency/CS/DeviceRGB>>/Tabs/S/StructParents 0>>
<</Type/Font/Subtype/TrueType/Name/F1/BaseFont/Arial,Bold/Encoding/WinAnsiEncoding/FontDescriptor 6 0 R/FirstChar 32/LastChar 89/Widths 67 0 R>>
<</Type/FontDescriptor/FontName/Arial,Bold/Flags 32/ItalicAngle 0/Ascent 905/Descent -210/CapHeight 728/AvgWidth 479/MaxWidth 2628/FontWeight 700/XHeight 250/Leading 33/StemV 47/FontBBox[ -628 -210 2000 728] >>
<</Type/Font/Subtype/TrueType/Name/F2/BaseFont/Arial/Encoding/WinAnsiEncoding/FontDescriptor 8 0 R/FirstChar 32/LastChar 121/Widths 68 0 R>>
<</Type/FontDescriptor/FontName/Arial/Flags 32/ItalicAngle 0/Ascent 905/Descent -210/CapHeight 728/AvgWidth 441/MaxWidth 2665/FontWeight 400/XHeight 250/Leading 33/StemV 44/FontBBox[ -665 -210 2000 728] >>
<</Type/Font/Subtype/TrueType/Name/F3/BaseFont/Times#20New#20Roman/Encoding/WinAnsiEncoding/FontDescriptor 10 0 R/FirstChar 32/LastChar 121/Widths 72 0 R>>
<</Type/FontDescriptor/FontName/Times#20New#20Roman/Flags 32/ItalicAngle 0/Ascent 891/Descent -216/CapHeight 693/AvgWidth 401/MaxWidth 2568/FontWeight 400/XHeight 250/Leading 42/StemV 40/FontBBox[ -568 -216 2000 693] >>
<</Type/Font/Subtype/TrueType/Name/F4/BaseFont/ABCDEE+MS#20Gothic/Encoding/WinAnsiEncoding/FontDescriptor 12 0 R/FirstChar 32/LastChar 32/Widths 73 0 R>>
<</Type/FontDescriptor/FontName/ABCDEE+MS#20Gothic/Flags 32/ItalicAngle 0/Ascent 859/Descent -141/CapHeight 859/AvgWidth 500/MaxWidth 1117/FontWeight 400/XHeight 250/StemV 50/FontBBox[ -121 -141 996 859] /FontFile2 74 0 R>>
<</Type/Font/Subtype/Type0/BaseFont/Times#20New#20Roman/Encoding/Identity-H/DescendantFonts 14 0 R/ToUnicode 69 0 R>>
<</BaseFont/Times#20New#20Roman/Subtype/CIDFontType2/Type/Font/CIDToGIDMap/Identity/DW 1000/CIDSystemInfo 16 0 R/FontDescriptor 17 0 R/W 71 0 R>>
<</Type/FontDescriptor/FontName/Times#20New#20Roman/Flags 32/ItalicAngle 0/Ascent 891/Descent -216/CapHeight 693/AvgWidth 401/MaxWidth 2568/FontWeight 400/XHeight 250/Leading 42/StemV 40/FontBBox[ -568 -216 2000 693] /FontFile2 70 0 R>>
<</Type/Page/Parent 2 0 R/Resources<</Font<</F3 9 0 R>>/XObject<</Image20 20 0 R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/MediaBox[ 0 0 595.32 841.92] /Contents 19 0 R/Group<</Type/Group/S/Transparency/CS/DeviceRGB>>/Tabs/S/StructParents 1>>
 
Old 07-18-2013, 11:36 AM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,919

Rep: Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779Reputation: 779
Do you (did you) mean the font here or here?

Doesn't look particularly light (unless there is some, hidden Calibri, Super Light version that I didn't spot). In any case, if the date in that second reference, 2002, is right there probably should be one of the Red Hat open source fonts that has the same metrics and which can be substituted. Don't know which one though.

Am I getting the right impression in thinking that you are getting .pdf files from some external source, and you have to work with those? If that's true, you have to stick with fonts of the same, or very close, metrics, otherwise lines of text will fall off the edge of the page/crash in to one another, etc. If you have the word processor files themselves, the metrics may not be an issue, because the word processor itself will shuffle the text around, to suit.

Quote:
...this crappy postscript font...
Is the situation now that you don't know which font causes the problem?
 
Old 07-18-2013, 03:39 PM   #9
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,624

Original Poster
Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
They both look nice as Calibri goes.

There's an attachment on post #3 which shows

crappy font I want rid of
nice font I would like

They are both in the same paragraph and changes appear random. The situation is that I'd like to see it as ghostscript renders it. But the printer pukes big time on xpdf.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL 5 Fonts not installed - adobe-helvetica-bold-r-normal and adobe-courier-medium-r johnmccarthy Linux - Newbie 1 10-22-2012 07:23 AM
[SOLVED] Removing Adobe Acrobat Reader installed from Adobe's binary jrdioko Linux - Software 5 05-07-2011 09:38 PM
Adobe Acrobat Reader fonts linmix Linux - Software 1 06-16-2004 06:30 AM
Adobe Acrobat again... markelliott101 Linux - General 9 12-05-2002 06:25 AM
Adobe Acrobat piranha Linux - General 1 01-16-2002 09:22 AM


All times are GMT -5. The time now is 01:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration