Recent

Author Topic: LazTTF2Vector - An Enhanced Tool for Converting TrueType Fonts to Vector Files  (Read 955 times)

maurog

  • New Member
  • *
  • Posts: 42
Hello, I have slightly modified an example from Zamtmn, and the result is LazTTF2Vector. This program reads TrueType font files and displays the entered text using CADSys4. The result can be saved as DXF or in CADSys4.2 native format. The character spacing and sizes still need improvement, and I plan to work on that when I have more time.

Download Links:

Source Code: https://www.hackcad.com/maindownloads/LazTTF2Vector_src.tar.gz
Linux64: https://www.hackcad.com/maindownloads/LazTTF2Vector_Linux64.tar.gz
Win64:   https://www.hackcad.com/maindownloads/LazCAD_x86_64-win64.tar.gz
Zamtmn's Example: https://forum.lazarus.freepascal.org/index.php/topic,20820.msg121140.html#msg121140

Maurog.
« Last Edit: September 20, 2024, 12:54:13 am by maurog »
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

domasz

  • Hero Member
  • *****
  • Posts: 574
Interesting, but would be better if it didn't require CADSys4 and just used whatever is Lazarus comes with.

maurog

  • New Member
  • *
  • Posts: 42
Hello,
I used CADSys4 because:
I developed the module for LazCAD (which also uses the CADSys4 library). and
I use the DXF interface of CADSys4 in the module.

The author (Piero Valagussa) has generously contributed over 20,000 lines of 2D and 3D Pascal source code (Delphi/Lazarus/FPC) to the Pascal community—completely for free. The library seamlessly adapts: in Delphi, it remains Delphi-native; in FPC, it is FPC-native. :-)

Best regards,
Maurog.
« Last Edit: March 20, 2025, 09:08:48 pm by maurog »
And yes, Lazarus is definitely a beast – it comes with everything you need, but sometimes also more than you expect. 😅 (Chat-GPT)

 

TinyPortal © 2005-2018