Improvment libdxfrw to support font style.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2017-06-29 13:01:28 +03:00
parent 721165eae3
commit 0bb4280a02

View File

@ -295,6 +295,8 @@ bool dxfRW::writeTextstyle(DRW_Textstyle *ent){
if (version > DRW::AC1009) { if (version > DRW::AC1009) {
writer->writeUtf8String(3, ent->font); writer->writeUtf8String(3, ent->font);
writer->writeUtf8String(4, ent->bigFont); writer->writeUtf8String(4, ent->bigFont);
writer->writeUtf8String(1001, "ACAD");
writer->writeUtf8String(1000, ent->font);
if (ent->fontFamily != 0) if (ent->fontFamily != 0)
writer->writeInt32(1071, ent->fontFamily); writer->writeInt32(1071, ent->fontFamily);
} else { } else {