resolution problem

  • I create pages in a PDF file with DrawMetafileEx.

    The problem is that on one computer the Metafile only ocupies a quarter of
    the page, whereas on others it occupies the whole page as intended.

    Which setting might have triggered this difference.

    Regards from Germany

    Franz-Leo

  • Additional information. There is a difference in the document properties.
    The normal PDF files show that Truetype fonts are used, the smaller
    ones show that Type 1 fonts are used.

    Regards from Germany

    Franz-Leo

    • Offizieller Beitrag

    Do you provide any resolution parameters to the DrawMetafileEx function. The best is to call it with 0 0 0 0 (for position and w,h) and Screen.PixelsPerInch, Screen.PixelsPerInch for the last two parameters if that metafile has been just created using the screen as reference. For automatic detection of resolution use 0.