summaryrefslogtreecommitdiff
path: root/vcl/Module_vcl.mk
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-15 17:33:17 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-15 18:39:31 +1100
commit9a790ca414ccc7f330e20af7ad76fe16cc0259b1 (patch)
tree0c2697828db92a22b9bb535427f4b2dbb67e16ae /vcl/Module_vcl.mk
parent1ea4f371f8be5551fb936fa04d1799eda40a1e39 (diff)
vcl: add symbol and charset accessors and mutators to Font
Rules for the vcl::Font class for setting character set and the symbol flag: If the characterset changes to anything other than RTL_TEXTENCODING_SYMBOL then the symbol flag should be off. If the characterset changes to RTL_TEXTENCODING_SYMBOL then the symbol flag should be on. If the symbol flag is set to false and the characterset is already RTL_TEXTENCODING_SYMBOL then set the characterset to RTL_TEXTENCODING_DONTKNOW and set the symbol flag to false. However, if we are setting the symbol flag from false to false (i.e. we know the characterset) then we can keep the characterset as it is. Unit test written in this commit to test this is working. Change-Id: Iced44659ab88ff66b711c560cb68bd4681ecb537
Diffstat (limited to 'vcl/Module_vcl.mk')
-rw-r--r--vcl/Module_vcl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index 0be5a4bb18bc..299ffb11f4ac 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -97,6 +97,7 @@ $(eval $(call gb_Module_add_check_targets,vcl,\
CppunitTest_vcl_lifecycle \
CppunitTest_vcl_bitmap_test \
CppunitTest_vcl_fontcharmap \
+ CppunitTest_vcl_font \
CppunitTest_vcl_fontmetric \
CppunitTest_vcl_complextext \
CppunitTest_vcl_filters_test \