From 0bb4280a02af68f193362a85ed8084e401c02902 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 29 Jun 2017 13:01:28 +0300 Subject: [PATCH] Improvment libdxfrw to support font style. --HG-- branch : feature --- src/libs/vdxf/libdxfrw/libdxfrw.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libs/vdxf/libdxfrw/libdxfrw.cpp b/src/libs/vdxf/libdxfrw/libdxfrw.cpp index e2a68d14d..097e23bed 100644 --- a/src/libs/vdxf/libdxfrw/libdxfrw.cpp +++ b/src/libs/vdxf/libdxfrw/libdxfrw.cpp @@ -295,6 +295,8 @@ bool dxfRW::writeTextstyle(DRW_Textstyle *ent){ if (version > DRW::AC1009) { writer->writeUtf8String(3, ent->font); writer->writeUtf8String(4, ent->bigFont); + writer->writeUtf8String(1001, "ACAD"); + writer->writeUtf8String(1000, ent->font); if (ent->fontFamily != 0) writer->writeInt32(1071, ent->fontFamily); } else {