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:
System Documentation
[ 238 ]
This brings us to a panel where we can choose the (existing) PDF schema name,
and the action we want to perform??”in our case, we want to export the Designer
coordinates to the PDF schema.
There is a difference in the span of tables managed by the Designer and by
the Edit PDF feature.
Pages:
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219