Browse Source

get font name from the default text attributes

git-svn-id: https://svn-dept.inf.ethz.ch/svn/lecturers/a2/trunk@8836 8c9fc860-2736-0410-a75d-ab315db34111
infsvn.durmanov 6 năm trước cách đây
mục cha
commit
632034b249
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/FoxA2Interface.Mod

+ 1 - 1
source/FoxA2Interface.Mod

@@ -14,7 +14,7 @@ TYPE
 		BEGIN
 			InitBasicWriter(w); alertCount := 0; commentCount := 0; keywordCount := 0;
 			IF w IS TextUtilities.TextWriter THEN
-				w(TextUtilities.TextWriter).SetFontName("Vera");
+				w(TextUtilities.TextWriter).SetFontName(Texts.defaultAttributes.fontInfo.name);
 			END;
 		END InitA2Writer;