Bug#524323: evince: Unkown font error message should state the name of the unkown font

Tobias Diedrich ranma at tdiedrich.de
Thu Apr 16 11:29:39 UTC 2009


Josselin Mouette wrote:
> Le jeudi 16 avril 2009 à 10:56 +0200, Tobias Diedrich a écrit :
> > I'm trying to fill out a pdf form, but what I type in never appears and
> > on the console I get the error message:
> > "Error: Unknown font in field's DA string"
> > As such, the error message does barely help at all.
> > It would be much better to give the name of the missing font...
> > 
> > (And even better to at least substitute another font, so I can still fill out
> > the form even without having the font in question)
> 
> Does it still happen with the latest evince and poppler packages from
> testing/unstable?

Yes, I can still reproduce it after updating to evince 2.24.2-2+b1.

Meanwhile, I found out that the offending font is 'CoBo' (presumably
courier bold?) by looking at the pdf in vim:

[...]
/Type /Annot
/Subtype /Widget
/T (Adressfeld-Mail)
/F 4
/BS << /Type /Border /W 1 /S /S >>
/DA (/CoBo 12.80000 Tf 0.00000 0.00000 0.00000 rg
[...]

CoBo itself does not seem to be defined anywhere, but I see
/Type /Font
/Subtype /Type1
/BaseFont /Courier-Bold

(I'm no pdf expert, maybe it's ok to abbreviate font names? Or CoBo
is defined as Courier-Bold by default?)

The pdf was created using Scribus:
/Producer (Libpdf for Scribus 1.3.3.4)

And is available at
http://www.tomodachi.de/html/marathon/AnT-Bring+Buy-AM2009.pdf

ttf-liberation is installed, as is ttf-mscorefonts-installer (and
the ms courier fonts are there in /usr/share/fonts/truetype/msttcorefonts)

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de





More information about the pkg-gnome-maintainers mailing list