#151 Re: PDF Engine » emf2pdf » 2010-07-16 09:36:54

my computer system is windows XP with service pack2 and simple chinese fonts.

#152 Re: PDF Engine » emf2pdf » 2010-07-16 08:11:06

many thanks,but two problems are remained:
1. the text position is not exactly right.
2. part of content did not also appeared.


i sent you an email,please check.

#153 Re: PDF Engine » emf2pdf » 2010-07-16 07:31:29

longge007  wrote:

In order to show Chinese Fonts ,it's necessary to translate it.

how to translate it,any idea?

thanks.

#154 Re: PDF Engine » emf2pdf » 2010-07-16 06:31:50

it seems that the content of fDoc.FTrueTypeFonts list is different from which in my windows fonts directory.

my computer system is windows XP with service pack 2

#155 Re: PDF Engine » emf2pdf » 2010-07-15 09:30:19

i used the latest synpdf from http://synopse.info/fossil in the debug mediafile.

#156 Re: PDF Engine » emf2pdf » 2010-07-15 09:26:51

i sent u an email with attached files.

thanks.

#157 Re: PDF Engine » emf2pdf » 2010-07-15 05:33:45

thanks.

it was the same message when i convert my emf file to the pdf file.

#158 Re: PDF Engine » emf2pdf » 2010-07-15 02:21:29

with the latest html2pdf,i also got an error message.
i sent you an email with the screenshot.

Best Regards!

#159 Re: PDF Engine » emf2pdf » 2010-07-15 01:51:54

hi,ab:

i am still not able to transform my emf file to pdf file.
did you receive my email with the emf file which i used?

thanks!

#160 Re: PDF Engine » emf2pdf » 2010-07-02 10:13:50

thank you.

i sent you an email with the emf file attached.

#161 Re: PDF Engine » emf2pdf » 2010-07-02 09:05:45

thanks for your reply!

i print the ms word file with simple chinese font into emf files, so the font should be  "simple chinese font".
Could you give me your email address, i will email you the emf file?

thanks again!

#162 PDF Engine » emf2pdf » 2010-07-02 03:15:39

profh
Replies: 53

i need to create a pdf file from the emf files with simple chinese fonts, but the error in "setfont" function occured.

i use SynPdf 1.8.1, and here is my simple code:

var
  PDF: TPDFDocument;
  m:TMetafile;
  i:integer;
begin
  PDF:= TPDFDocument.Create;
  pdf.DefaultPaperSize := psA4;
  m := TMetafile.Create;
  m.LoadFromFile('c:\1\1.emf');
  with pdf do
  try
//    pdf.EmbeddedTTF := true;
//    PDF.EmbeddedWholeTTF := true;
    PDF.UseUniscribe := true;
   
    StandardFontsReplace := true;
    AddPage;
//    Canvas.SetFont('宋体',12,[fsItalic,fsBold]);
    Canvas.RenderMetaFile(m,1);
    SaveToFile('c:\1.pdf');
  finally
    Free;
  end;
  m.free;
end.

i wonder how to upload the emf file.

thanks and best regards!

Board footer

Powered by FluxBB