Opened 6 years ago

Last modified 6 years ago

#7185 closed defect

Wrong text size when converting DXF to PDF — at Initial Version

Reported by: Alan Thomas Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: pdf
Cc:

Description

I converted autotest/ogr/data/leader-mleader.dxf to PDF using ogr2ogr:

ogr2ogr -overwrite -f "PDF" leader-mleader.pdf "C:\Projects\gdal\autotest\ogr\data\leader-mleader.dxf" -dsco STREAM_COMPRESS=NONE

The text sizes in the resulting PDF are excessively large.

Here's an example style string from ogrinfo -al on the original DXF (this is the style string for the big red text you see in the page):

LABEL(f:"Arial",t:"Apples",p:2,s:1g,c:#ff0000,a:10)

The font size in the resulting PDF is 1000.000000. I'm not sure what the correct size is; 1.0 is too small.

(As a side note, each text object is associated with a grey circle, which seems unwanted.)

Change History (0)

Note: See TracTickets for help on using tickets.