Difference between revisions of "LazFreeType"

From Free Pascal wiki
Jump to navigationJump to search
(New page: The original FreeType was written in Pascal and it has been resuscitated and placed in Lazarus. __TOC__ ==Subversion== The new LazFreeType project is a part of Lazarus and is located in th...)
 
Line 16: Line 16:
  
 
lazarus/examples/lazfreetype/lazfreetypetest.lpi
 
lazarus/examples/lazfreetype/lazfreetypetest.lpi
 +
 +
One needs to place a font Arial.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.
 +
 +
[[Image:Lazfreetype.PNG]]
  
 
==See Also==
 
==See Also==
 
*[[Custom Drawn Interface]]
 
*[[Custom Drawn Interface]]

Revision as of 11:48, 6 March 2012

The original FreeType was written in Pascal and it has been resuscitated and placed in Lazarus.

Subversion

The new LazFreeType project is a part of Lazarus and is located in the directories:

lazarus/components/lazutils lazarus/lcl/easylazfreetypeintfdrawer.pas

The old source code of FreeType itself can be downloaded from the lazarus-ccr in:

lazarus-ccr/components/freetypepascal

Example applications

Located in the Lazarus SVN

lazarus/examples/lazfreetype/lazfreetypetest.lpi

One needs to place a font Arial.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.

Lazfreetype.PNG

See Also