mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-05 12:15:50 +03:00
Font_FTFont now uses fallback fonts for characters from unsupported Unicode subsets, managed by Font_FTFont::ToUseUnicodeSubsetFallback() and Font_FontMgr::ToUseUnicodeSubsetFallback() option, enabled by default. The fallback list includes common font families for Chinese, Korean and Japanese languages. Font_FTFont::RenderGlyph() now supports FT_PIXEL_MODE_MONO input format used by some CJK fonts. OpenGl_Font::createTexture() now limits single texture size to circa 4096 glyphs. test/testgrid now expects test scripts being in UTF-8 encoding in sync with "DRAWEXE -f script.tcl". AIS::InitFaceLength() - fixed usage of uninitialized result.
38 lines
962 B
Plaintext
38 lines
962 B
Plaintext
puts "================"
|
|
puts "0022149: Strings with Japanese characters can not be displayed in 3D viewer"
|
|
puts "================"
|
|
puts ""
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
dtracelevel trace
|
|
vfont -verbose 1
|
|
vclear
|
|
vinit View1
|
|
vaxo
|
|
vpoint p0 0 0 0
|
|
|
|
pload MODELING VISUALIZATION
|
|
dtracelevel trace
|
|
vfont -verbose 1
|
|
vclear
|
|
vinit View1
|
|
vtop
|
|
vpoint p00 0 0 0
|
|
vpoint p01 0 10 0
|
|
vpoint p11 10 10 0
|
|
vpoint p10 10 0 0
|
|
vfit
|
|
vzoom 0.8
|
|
vdrawtext t0 "한국어 (Korean) Čeština" -pos 0 0 0 -halign left -font korean
|
|
vdrawtext t1 "한국어 (Korean) Čeština" -pos 10 1 0 -halign right -font sans
|
|
vdrawtext t2 "简体中文 (Chinese)" -pos 0 2 0 -halign left -font cjk
|
|
vdrawtext t3 "简体中文 (Chinese)" -pos 10 3 0 -halign right -font sans
|
|
vdrawtext t4 "あ (Japanese)" -pos 0 4 0 -halign left -font cjk
|
|
vdrawtext t5 "あ (Japanese)" -pos 10 5 0 -halign right -font sans
|
|
|
|
vdump $imagedir/${casename}.png
|
|
|
|
# just print font list
|
|
vfont
|