LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Fonts issue in Adobe Acrobat (http://www.linuxquestions.org/questions/linux-desktop-74/fonts-issue-in-adobe-acrobat-4175469790/)

business_kid 07-16-2013 06:26 AM

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.

brianL 07-16-2013 10:25 AM

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/

business_kid 07-16-2013 12:20 PM

1 Attachment(s)
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.

business_kid 07-17-2013 06:53 AM

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

brianL 07-17-2013 08:40 AM

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. :)

DavidMcCann 07-17-2013 02:40 PM

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.

business_kid 07-18-2013 05:51 AM

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>>


salasi 07-18-2013 10:36 AM

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?

business_kid 07-18-2013 02:39 PM

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.


All times are GMT -5. The time now is 04:10 AM.