Weird symbols from GetMetafile()

  • Hi,

    I'm converting pdf-files to metafiles, but get a problem when my pdf-files contain stuff like checkboxes. Checked checkboxes appear as R in my resulting metafile, while unchecked checkboxes appear as £. I've tried both GetMetafile() and GetMetafilePrn().

    Other than that, I love your product :)

    I'm using wPDFViewPlus02.dll v2.59.5.0

    Bjørn Engelberg

    • Offizieller Beitrag

    Hi,

    Metafiles cannot use the font engine, so it cannot use the embedded fonts. The characterset of embedded fonts is very often different and there is no representation for checkboxes and other symbols.

    I would suggest to avoid metafiles if the higehs quality is needed and extract PNG or JPEG instead. This is also more compatible for future versions of WPViewPDF.

    Julian

  • Hi,

    I've now also tried using wpview_pdfMakeJPEG() on the pdf-file, with the same results as when converting to metafile. Checked checkboxes appear as R in my resulting jpeg, while unchecked checkboxes appear as £.

    Can I maybe send an example somewhere so you can check it out for me?

    Bjørn