How find out which fonts a piece text in a PDF is?

On Windows in the Adobe PDF reader, you can select a piece of text and view the font via “properties.” I am unable to find this info in Okular. Is there an app on Linux that enables me to do this?

That’s possible in Okular as well. Select File->Properties. A window appears with the PDF’s properties, select the “Fonts” tab to get a list of the documents fonts.
Of course that’s for the whole document.
I’m not aware of a possibility to list the selection’s fonts. (not even the Linux version of Adobe Reader can do that AFAICS)

you ca install adobe on openSUSE too. Install acroread package

I now tried to do that in Adobe Reader 11 on Windows, but didn’t find a way there either. File->Properties shows the fonts of the whole document, just like Okular does.

So, how exactly do you show the list of fonts used in the current selection?
Or was this a misunderstanding right from the start?

On 2013-06-29 18:16, wolfi323 wrote:
>
> wolfi323;2565972 Wrote:
>> I’m not aware of a possibility to list the selection’s fonts. (not even
>> the Linux version of Adobe Reader can do that AFAICS)
> I now tried to do that in Adobe Reader 11 on Windows, but didn’t find a
> way there either. File->Properties shows the fonts of the whole
> document, just like Okular does.
>
> So, how exactly do you show the list of fonts used in the current
> selection?
> Or was this a misunderstanding right from the start?

Something else I would like to know is, knowing which fonts are used in
a PDF document, find out exactly what text uses a certain font. Some
fonts are native to all readers (by requirement), so that if you create
a document with those fonts they will be available on any system.
However, if you use different fonts you have to include them in your
document (it is automatic). Thus, a single word or letter in a certain
font, and the whole font definition goes into the PDF, making it bigger.

So, sometimes I would like to find out what precise text has that font
to remove or change it.

/Maybe/ acrobat creator has those features.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

The question is: what do you want to achieve?

If you are creating a PDF, you should be able to keep track of/reduce the number of fonts you use yourself. For example, every time you use something like italic or bold you add another font; if you use a different size, you add another font; if you use a vector graphics image, you will add all the fonts in that image.

If you follow good typesetting practice, you use bold only for headings - so you may reduce the number of fonts simply by reducing the number of heading levels - that is good practice anyway. A lot of heading levels usually means the ideas have not been thought through properly.

Similarly, you normally use italics for emphasis in the body text; so you should hardly ever have more than two fonts in the body text.

However, if you use mathematical equations, you usually use math fonts; if you add vector graphics, you often use different fonts from the body text fonts. It is good practice to keep vector graphics simple but even so you normally cannot escape adding fonts if you use maths or vector graphics which you want to be clear.

On 2013-06-29 23:36, john hudson wrote:
>
> The question is: what do you want to achieve?
>
> If you are creating a PDF, you should be able to keep track of/reduce
> the number of fonts you use yourself. For example, every time you use
> something like italic or bold you add another font; if you use a
> different size, you add another font; if you use a vector graphics
> image, you will add all the fonts in that image.

In my case, it is not that simple. It is my CV, which evolves over the
years, I change things. Once I found that there was a blank space using
a different style with a different font, which got included in the PDF.
It took me hours to find out where that font was coming from: I had to
single step, letter by letter, in openoffice, to find the single letter
with the wrong font (a space, actually).

So a tool to locate what is done with each font would be a good find -
either in the PDF or in the original document.

> If you follow good typesetting practice, you use bold only for headings
> - so you may reduce the number of fonts simply by reducing the number of
> heading levels - that is good practice anyway. A lot of heading levels
> usually means the ideas have not been thought through properly.

I try to limit myself to the fonts that do not need to be included, to
reduce the size of PDFs (for email). For example, “Times” is good, but
“Times new roman” is not, even if the difference is not vissible.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)