Login  Register

font problems with DXF import

Posted by Walter Lapchynski on Jun 05, 2015; 6:46pm
URL: https://forum.librecad.org/font-problems-with-DXF-import-tp5711605.html

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Desperately trying to remove our business' dependence on AutoCAD here.
 Need to import DXFs that we have created and share with our vendors,
who sometimes modify them as well.

The problem is that it seems that our templates in AutoCAD (Windows, w
hich we're trying to remove dependence on, as well) specify an Arial f
ont for the headings. They appear with "{\fArial|b0|i0|c0|p0;}" append
ed to them. Also, tabs appear as "^I."

I've gone so far as using ttf2lff to convert the fonts (from the Ubunt
u ttf-mscorefonts-installer package) to lff and dropping them into /us
r/share/librecad/fonts/. Though they are loaded correctly, still the p
roblems remain.

Naturally, I can simply edit the DXF, remove the extra text, and chang
e the font to whatever I want and everything will be peachy keen. Ther
e are two problems with this, though:
 1. It's a lot of work. We've got a huge folder of drawings to deal wi
th.
 2. It will have to be redone any time one of our vendors makes a revi
sion, as they use AutoCAD and I doubt I can get them to use LibreCAD j
ust for us, especially given the problem above.

I should add that the problem persists in a freshly compiled git clone
 (@757c3c124abe0c607d9a991b52219a6c69dbb91d) from yesterday, so it's n
ot simply an issue with packaging lagging behind the latest developmen
t.

Thanks in advance,

- --
Walter Lapchynski
Information Services Assistant
Project Management Facilitator

Green Gear Cycling dba Bike Friday
800-777-0258 | +1 541-687-0487
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBCAAGBQJVce6dAAoJEC/Sz6G3AJ2T7MAH/jjhWRbRS8/uO8DJOF0avKM8
oHR/rRGzHQ6OkpLK1mrl1rg4Slz6QKjjKmicu9hAWvbK+2SYihwO3T9Xx0aw19xQ
RXYkKef/aXAtqLcDkrmHFwimd8nqffftzH5EixPCYEFRGGQQGBhXn4VWihJBf9E8
W9+WYY5doei1xGbZUqRTksq3wErx0vMlun+LkYJTx1K8igkFBFvMaIWBnn1/TUJn
CxrSWAgXX50Kpd1z6EZt0SMgq6zF6tElyDrTuO0Hm0UKbZntb+KKTXpejJA8oeu0
AgMpHG2TarfZPHaRXD5rSo7XMFE8ExbCm4RS9eHeQHcyded5XHeIrY4z+OWacDA=
=l2vF
-----END PGP SIGNATURE-----

0xB7009D93.asc (1K) Download Attachment
0xB7009D93.asc.sig (394 bytes) Download Attachment