Server geändert
This commit is contained in:
@ -49,7 +49,7 @@ directory of the package: makefont.php. It contains the following function:
|
||||
</dl>
|
||||
The first parameter is the name of the font file. The extension must be either .ttf, .otf or .pfb and
|
||||
determines the font type. If your Type1 font is in ASCII format (.pfa), you can convert it to binary
|
||||
(.pfb) with the help of <a href="http://www.lcdf.org/~eddietwo/type/#t1utils" target="_blank">t1utils</a>.
|
||||
(.pfb) with the help of <a href="https://www.lcdf.org/~eddietwo/type/#t1utils" target="_blank">t1utils</a>.
|
||||
<br>
|
||||
<br>
|
||||
For Type1 fonts, the corresponding .afm file must be present in the same directory.
|
||||
@ -124,7 +124,7 @@ Another way to call MakeFont() is through the command line:
|
||||
<br>
|
||||
<br>
|
||||
Finally, for TrueType and OpenType fonts, you can also generate the files
|
||||
<a href="http://www.fpdf.org/makefont/">online</a> instead of doing it manually.
|
||||
<a href="https://www.fpdf.org/makefont/">online</a> instead of doing it manually.
|
||||
|
||||
<h2>Declaration of the font in the script</h2>
|
||||
The second step is simple. You just need to call the <a href='../doc/addfont.htm'>AddFont()</a> method:
|
||||
@ -140,7 +140,7 @@ had worked with Comic Sans MS Bold (comicbd.ttf), we would have written:
|
||||
</div>
|
||||
|
||||
<h2>Example</h2>
|
||||
Let's now see a complete example. We will use the font <a href="http://www.abstractfonts.com/font/52" target="_blank">Calligrapher</a>.
|
||||
Let's now see a complete example. We will use the font <a href="https://www.abstractfonts.com/font/52" target="_blank">Calligrapher</a>.
|
||||
The first step is the generation of the font files:
|
||||
<div class="source">
|
||||
<pre><code><?php
|
||||
|
Reference in New Issue
Block a user