[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fonts used by evince



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10.06.2012 17:27, Camaleón wrote:
> On Sun, 10 Jun 2012 16:32:27 +0200, Paul Seyfert wrote:
> 
>> I have created an eps file with cern root and converted it with 
>> epstopdf to pdf. 
>> http://mathphys.fsk.uni-heidelberg.de/~pseyfert/Fig5.pdf I then 
>> look at the result in evince 
>> http://mathphys.fsk.uni-heidelberg.de/~pseyfert/fonts.png
>> (right) for reference it should look like the one displayed by
>> acroread (left). as you see the mu are displayed wrongly (pi as
>> well, I didn't go further through the symbols and letters).
>> Apparently root does not embed the fonts it uses into the eps
>> file - which is a problem on its own which I don't want to
>> address here.
> 
> (...)
> 
> Not embedding the fonts is a problem if you are planing to 
> redistribute a document that uses mathematical symbols. In such 
> cases, is better to include the fonts in the document although 
> doing so will increase the resulting file size.

actually I have no idea how to tell cernroot to embed fonts. anyhow i
definitely cannot force all other root users to always embed fonts. So
even if I embed fonts the problem will reappear when I get files from
collaborators.

> 
> I also get the wrong characters (infinite symbol "∞" instead micro 
> "µ") in Evince.
> 
>> name                                 type              emb sub 
>> uni object ID
> (...)
>> ZapfDingbats                         Type 1            no  no
>> no 20  0
> 
> The only tipography I don't have installed in my system is 
> "ZapfDingbats" and this font is included within Acrobat Reader. 
> This can be problem here.

okay. do you know where I could get it from?
is there a package with ZapfDingbats or can I get it from the acroread
directories?

something else which came to my mind: is there a way to tell a missing
font from having a wrong font?

> 
> Tip: if you don't want to embed the fonts, try using unicode 
> symbols instead using specific font foundries.

hm, this I could try. But again that would only fix the creation part of
the pdf files. I'm more focussed on the displaying part of the problem.
i.e. I want to be able to display this specific type of fontless pdf
with exactly the fonts used in there (official collaboration style /
corporate design / ...).

> 
>> Is evince at all using fonts from /usr/share/fonts? (if not, 
>> where should I start searching for the missing font) Do you have
>>  recommendations what to do to get the plot correctly displayed 
>> in evince?
> 
> Evince should use the available font paths which are defined in 
> "/etc/fonts/fonts.conf". You can be hitting:

the fonts.conf on the debian machine (where evince doesn't find the
font) and the ubuntu machine (where evince finds the font) are
identical. however I'm still searching for something conclusive in the
included conf.d directories. all entries with zapf are the same on
both systems.

> 
> https://bugs.freedesktop.org/show_bug.cgi?id=21395#c6

This fix is already in my fonts.conf


Cheers,
Paul
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP1NzsAAoJEPGrO6H3OXollQkQAJ32W2XLI9oreWkt3DfwDFof
zp4qOVXiCw1mbngepaFjFKPQhs7mv/0dHQHQqvOAX21UZF7+iutpaoz9Q5V9OgQ7
dEZ4WiLnI1B6r+h/QOkLEWNATvgg394cPYwpNB1qEcODksFdtfVM2SKJF/wGwmm5
y6FPcA/rg4oPfD056/fYP2gh7/7bPxFSVOHCme1v9w1J68WW4ssLwte2NNsasPZS
4tdtthuFHpvlvULungE8bNoeG5zReYvzLd3vEpcvt44YfoLXjZOVA1o/alMyCAso
6qAisqVVzUe4trN5r+3fFM6MLaDMuL9OhO5oks3AFfAkcdX4rwbYA5tEeFZLSBQd
2yfCU6KXKHRdJbdk+nClaclk+hwhnlZCyWe4u7N8QuYgnTnvNWPvpWn8FWOmfP7P
Iy4SQB3O+cRUeJkgK893JheyMBaGGht0NKT7RRN3Cv1gYerAsCPLwVE0AQ+In6gz
mhuaCurnuOJx9TTguQPdix0Kf8yxPfkKQ9B2U1fJ99bbJU7Z9XyiQ4BTEneI95od
ESjqULuws2YcW7YSkt+YTxp9QmrNx37VvFuAh6krCR9pubVXzX20e2XNmWkjwEOq
NhE65CVUt7r812Vt12eQSqpM6pCeVt7oLisDWn7M96cKUccZPDaOdIshNr6cKOTQ
WIjL6H+gyEiRLW/0HiP/
=zvWi
-----END PGP SIGNATURE-----


Reply to: