LazFreeType: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: LazFreeType
| Old | New | Line | |
|---|---|---|---|
| 1 | + | The original FreeType was written in Pascal and it has been resuscitated and placed in Lazarus. | |
| 2 | + | ||
| 3 | + | ## Subversion | |
| 4 | + | ||
| 5 | + | The new LazFreeType project is a part of Lazarus and is located in the directories: | |
| 6 | + | ||
| 7 | + | lazarus/components/lazutils lazarus/lcl/lazfreetypeintfdrawer.pas | |
| 8 | + | ||
| 9 | + | The old source code of FreeType itself can be downloaded from the lazarus-ccr in: | |
| 10 | + | ||
| 11 | + | lazarus-ccr/components/freetypepascal | |
| 12 | + | ||
| 13 | + | ## Example applications | |
| 14 | + | ||
| 15 | + | Located in the Lazarus SVN | |
| 16 | + | ||
| 17 | + | lazarus/examples/lazfreetype/lazfreetypetest.lpi | |
| 18 | + | ||
| 19 | + | One needs to place the fonts; arial.ttf, timesi.ttf, verdana.ttf in the same directory as the executable or else set a path in the lazarus/examples/lazfreetype/mainform.pas unit to the font to use. | |
| 20 | + | ||
| 21 | + | <figure> | |
| 22 | + | <img src="Lazfreetype.PNG" title="Lazfreetype.PNG" /> | |
| 23 | + | <figcaption>Lazfreetype.PNG</figcaption> | |
| 24 | + | </figure> | |
| 25 | + | ||
| 26 | + | ## License | |
| 27 | + | ||
| 28 | + | From: <http://www.freetype.org/license.html> | |
| 29 | + | ||
| 30 | + | FreeType comes with two licenses from which you can choose the one which fits your needs best. | |
| 31 | + | ||
| 32 | + | The FreeType License is the most commonly used one. Full text here: <http://www.freetype.org/FTL.TXT> | |
| 33 | + | ||
| 34 | + | `It is a BSD-style license with a credit clause (and thus compatible with GPLv3 but not GPLv2).` | |
| 35 | + | ||
| 36 | + | The GNU General Public License (GPL), version 2. | |
| 37 | + | ||
| 38 | + | `For all projects which use GPLv2 also or which need a license compatible to the GPLv2.` | |
| 39 | + | ||
| 40 | + | ## See Also | |
| 41 | + | ||
| 42 | + | - [[Custom Drawn Interface]] | |
| 43 | + | ||
| 44 | + | --- | |
| 45 | + | *From the Free Pascal wiki, page "LazFreeType", as it stood on 2016-10-28 after a change by E-ric, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 46 | + | Category: FreeType |
