Databases Reference
In-Depth Information
For actual PDF generation, phpMyAdmin relies on the tcpdf library
( http://tcpdf.sourceforge.net ), which is itself an adaptation of the fpdf library
( http://www.fpdf.org ). These libraries have two ways of using fonts: embedded
and not embedded . Embedded fonts produce a bigger PDF file, because the whole
font is included in the PDF. This is the default option chosen by phpMyAdmin,
because the library does not depend on the presence of a specific TrueType font in
the client operating system.
The fonts are located in libraries/tcpdf/font under the main
phpMyAdmin directory.
To use a different font file, we must first add it to the library (tools are present in the
original tcpdf kit and a tutorial is available on the http://www.fpdf.org website),
and then modify phpMyAdmin's pdf_schema.php source code.
Using the Designer for PDF Layout
The Designer feature, available in Database view, offers a more refined way of
moving the tables on-screen because the column links follow the table movements.
Therefore, an interface exists between the tables' coordinates, as saved by the
Designer, and the coordinates for the PDF schema. Let's enter the Designer and
click the small PDF logo:
 
Search WWH ::




Custom Search