web form export pdf error in Traditional Chinese Font

2»

Comments

  • edited 5:21PM
    FastReport uses standard Graphics.DrawString method to draw a text in the Text object. Probably this font is not compatible with GDI+ mode. Try to set Text object's Clip property to false, or use another font.
  • edited 5:21PM
    I found the reason, some fonts(like chinese fonts) has no space on top, but some fonts has space.

    I think when you call Graphics.DrawString in rect, suppose it's RectangleF(0, 0, 200, 200), should be RectangleF(0, 1, 200, 200), rect.Top add 1 Point, thus text can't be clipped.

    Windows controls is ok, I think it's processed like this.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.