ICU-5410 Add Hangul test case, TestFont1.otf. (w/ Tim Band's permission)
X-SVN-Rev: 21963
This commit is contained in:
parent
fa93ad03f5
commit
a80c52ce78
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -139,6 +139,7 @@ icu4c/source/test/compat/tzone.pl -text
|
||||
icu4c/source/test/intltest/dadrcal.cpp -text
|
||||
icu4c/source/test/intltest/dadrcal.h -text
|
||||
icu4c/source/test/intltest/tzrulets.h -text
|
||||
icu4c/source/test/letest/TestFont1.otf -text
|
||||
icu4c/source/test/perf/charperf/CharPerf_r.pl -text
|
||||
icu4c/source/test/perf/convperf/ConvPerf_r.pl -text
|
||||
icu4c/source/test/perf/normperf/NormPerf_r.pl -text
|
||||
|
@ -579,6 +579,10 @@ LayoutEngine *LayoutEngine::layoutEngineFactory(const LEFontInstance *fontInstan
|
||||
result = new ThaiLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags);
|
||||
break;
|
||||
|
||||
case hangScriptCode:
|
||||
result = new HangulOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode, typoFlags);
|
||||
break;
|
||||
|
||||
default:
|
||||
result = new LayoutEngine(fontInstance, scriptCode, languageCode, typoFlags);
|
||||
break;
|
||||
|
BIN
icu4c/source/test/letest/TestFont1.otf
Normal file
BIN
icu4c/source/test/letest/TestFont1.otf
Normal file
Binary file not shown.
@ -79,4 +79,8 @@
|
||||
<test-font name="raghu.ttf"/>
|
||||
<test-text>क्ष र्क क्ष र्क</test-text>
|
||||
</test-case>
|
||||
|
||||
<test-case id="Hangul" script="hang">
|
||||
<test-text>마만만</test-text>
|
||||
</test-case>
|
||||
</layout-tests>
|
Loading…
Reference in New Issue
Block a user