#1 2015-04-05 11:47:10

w_pg
Member
Registered: 2015-04-05
Posts: 1

Superscript font display error in pdf.

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

Last edited by w_pg (2015-04-05 11:49:05)

Offline

Board footer

Powered by FluxBB