Opened 16 years ago
Closed 15 years ago
#429 closed defect (fixed)
Print - new font LiberationSans-Regular causes error
Reported by: | astrid_emde | Owned by: | astrid_emde |
---|---|---|---|
Priority: | blocker | Milestone: | 2.6 release |
Component: | Version: | 2.6 rc1 | |
Keywords: | new fonts, afm | Cc: | christoph, marc, mschulz |
Description
Der Druck (printPDF) ist so eingerichtet, dass der Adobe-Reader als Browser-Plugin das gelieferte PDF öffnet.
- Browser: WinXP
- Server: Debian 4.
2.5.1 Adobe-Reader (7.0.5) when opens the pdf
In der Schrift "LiberationSans-Regular" ist der Wert für /BBox fehlerhaft.
This message shows up in IE and Firefox
Change History (10)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Priority: | major → blocker |
---|
comment:3 by , 15 years ago
comment:4 by , 15 years ago
hello marc,
this sounds good. Would you like to test it?
The release of Mapbender 2.6 shall come out before the intergeo. So it is still time to fix it.
best regards astrid
comment:5 by , 15 years ago
If i enable the messages during the print creation i get this:
openFont: ../classes/fonts/LiberationSans-Regular.afm - LiberationSans-Regular openFont: php file exists ../classes/fonts/php_LiberationSans-Regular.afm selectFont: checking for - ../classes/fonts/LiberationSans-Regular selectFont: pfb or ttf file not found, ok if this is one of the 14 standard fonts
comment:6 by , 15 years ago
Cc: | added |
---|
made changes in 2.6 branch.
http://trac.osgeo.org/mapbender/changeset/4534/branches/2.6
++
added 2 new ttf files to fonts folder
('LiberationSans-Regular.ttf')
('LiberationMono-Regular.ttf')
now the print messages looks a little bit nicer.
openFont: ../classes/fonts/LiberationSans-Regular.afm - LiberationSans-Regular openFont: php file exists ../classes/fonts/php_LiberationSans-Regular.afm selectFont: checking for - ../classes/fonts/LiberationSans-Regular.ttf selectFont: adding font file - ../classes/fonts/LiberationSans-Regular.ttf - LiberationSans-Regular selectFont: FirstChar=32 selectFont: LastChar=255 adding extra info to font.(8) BaseFont : LiberationSans-Regular Widths : 10 FirstChar : 32 LastChar : 255 FontDescriptor : 11 SubType : TrueType o_font Widths : 10 o_font FirstChar : 32 o_font LastChar : 255 o_font FontDescriptor : 11 o_font SubType : TrueType
I've tested it under windows yet.
Shall we bring this to trunk too?? or did mandsch take there some completly new classes?
regards Marc
comment:8 by , 15 years ago
marc, please add it to trunk and branches/2.6
It would be great to have this fixed. Please supply changesets as well, if it's not too much trouble.
comment:9 by , 15 years ago
here's the changeset of trunk
http://trac.osgeo.org/mapbender/changeset/4575/trunk/mapbender/http/classes/class.pdf.php
2.6 changeset vide supra
i think that it's fixed now.
cheers marc
comment:10 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Hi Astrid,
i found this.....
http://powerbook.blogger.de/2007/06/28/441578/php-ezpdf-truetype-fonts-bbox-error-fix/
maybe it can help.