LDraw.org Discussion Forums
txt2dat problems - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html)
+--- Thread: txt2dat problems (/thread-17060.html)



txt2dat problems - Michael Horvath - 2015-08-13

I'm trying to create some text using txt2dat and this font:

https://github.com/sammdot/roadgeek-fonts

[Image: txt2dat_output_01_zpskjmavcgf.png]

The characters are not curvy so there's something going wrong here. Does anyone have advice on how to get better results? Here's my command line:

Code:
"E:\Programs Windows\LDraw\txt2dat-0.2.3-mingw32\txt2dat.exe" -s Hello -c 15 -p 12 -b- -e error_log.txt -r 1 -x "C:\Windows\Fonts\RG2014B.ttf" > whatever.dat


Thanks!


[edit]

Okay, it's related to the font size. Increasing the font size makes things smoother. Not sure why this has to be the case though. Sad

[edit]

I wish you could set the bounding box height too (and stretch the text).


Re: txt2dat problems - Philippe Hurbain - 2015-08-17

Earlier versions of txt2dat directly provided much (too much?) smoother curves (don't remember when this change was done).


Re: txt2dat problems - Gerald Lasser - 2015-08-18

To stretch or resize the text I use Nils' Pattern Creator.

I look for a decent font size that gives me the proper granularity for the curves I would like to have, if it is a one time use I resize it with the help of LDPC. If it will be used multiple times, e.g. the "Cargo" logo in the trains I do make a "standard" sub-file which has dimensions that are fairly easily scalable without too many decimals.