ICU-5410 Add Hangul test case, TestFont1.otf. (w/ Tim Band's permission)

X-SVN-Rev: 21963
This commit is contained in:
Eric Mader 2007-07-13 17:31:00 +00:00
parent fa93ad03f5
commit a80c52ce78
4 changed files with 9 additions and 0 deletions

1
.gitattributes vendored
View File

@ -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

View File

@ -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;

Binary file not shown.

View File

@ -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>