#1 PDF Engine » Superscript font display error in pdf. » 2015-04-05 11:47:10

w_pg
Replies: 0

The code like this:

      PdfDoc.DefaultPaperSize := psA4;
      PdfPage := PdfDoc.AddPage;
      PdfDoc.CompressionMethod := cmFlateDecode;
      pdfdoc.UseFontFallBack:=true;
      PdfDoc.DefaultPageLandscape := False;
      PdfDoc.VCLCanvas.Font.Charset := DEFAULT_CHARSET;
      PdfDoc.UseUniscribe := True;

      PdfDoc.VCLCanvas.StretchDraw(Rect(0, 0, Metafile.Width, Metafile.Height), Metafile);
      PdfDoc.SaveToFile('d:\aaa.pdf');

Superscript font in wmf is right and in pdf is wrong.
PDF Engine use 1.18.

WMF file and PDF file:
http://www.mynoteskeeper.com/bugs/aaa.zip

Board footer

Powered by FluxBB