

- #Fastreport pdf export font how to#
- #Fastreport pdf export font install#
- #Fastreport pdf export font pro#
A glyph in TTF is represented with Bezier curves and, maybe, with a small picture that tells how the glyph should look like for a very small font size. Each glyphs represents a symbol or a part of a symbol. Usually a font is represented with a TTF file sometimes - with a TTC file, which is simply several TTF files put together. In this forum topic you can take a test program that can export reports to pdf with the new PDF export. Another spectacular example: export this report to pdf with enabled embedding and see the file size of the resulting document - it's more than 30 mb if the same report is exported with the PDF export in FR5, then the resulting file is only 116 kb, and it's even opened with Acrobat Reader much faster. Thus, by embedding only these 41 symbols into a pdf file, more than 700 kb space can be saved - this is the file size of Arial.

The report uses only 41 symbol, but Arial contains 3415 symbols. But fonts, especially such universal fonts as Arial Unicode MS, contains from 3 to 50 thousand symbols.įor instance, let's take a simple report which has a few paragraphs written with the Arial font. It's usually used up to 50 symbols from a font - this is explained by the fact, that a document is usually created in one language and uses symbols from one alphabet. It was decided to improve fonts embedding in FR5: the new PDF export will extract only needed characters from used fonts. Sometimes, this leads to increasing the file size of the pdf document to more than 10 megabytes.

The PDF export in FR4 is capable to embed fonts, but it does that in the simplest way, by just copying all needed font files into a document.

Of course, here a problem appears: font files usually occupy much space and a pdf document may be become unacceptable because of big file size. This copying of font files is called "embedding". For the sake of resolving this issue, the PDF standard allows to copy font files into a pdf document, thus providing the guarantee, that wherever you open this document, fonts will be available and the document will be readable. If the OS where you open the document doesn't have needed fonts, the document may become unreadable. In order Acrobat Reader or another pdf viewer can display this text, it must have access to font files used in the document. PDF documents often contains text written with various fonts. Flying by the seat of your pants doens't work and just gives you a royal PITA (pain in the "anatomy").Fonts embedding in the PDF export in FR VCL 5 August 26, 2011
#Fastreport pdf export font how to#
Don't swear at our software companies we all have the responsibility of learning how to use the tools. One more suggestion: take a quick class in how to make PDFs to prevent errors like this, and how to correct errors in PDFs. Run the utility to embed the fonts into the PDF. Open the Preflight Tool from PDF Standards panel.
#Fastreport pdf export font pro#
#Fastreport pdf export font install#
Install the missing fonts on the computer where you're viewing the PDF.When you see scrambled text, dots, odd characters, or white blocks that look like tofu, it means that the PDF doesn't have the original fonts embedded.Īcrobat tries to substitute with a font on your computer system, but when it can't find a valid substitute, it shows "scrambled" text for some or all of the textģ solutions, take your pick of which one will work for your situation:
