mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-15 12:35:51 +03:00
Font_FTFont::FindAndCreate() now loads embedded fallback font within Font_StrictLevel_Any level. Font_FontMgr::FindFont() - fixed misprint in message, and customized message for range fallback error. Font_FontMgr - added one more fallback Korean font for Linux. vfont command has been extended with options to clear Font Manager content.
28 lines
640 B
Plaintext
28 lines
640 B
Plaintext
puts "================"
|
|
puts "0031079: Visualization - embed minimal fallback font"
|
|
puts "================"
|
|
puts ""
|
|
|
|
puts "REQUIRED All: Font_FontMgr, error: unable to find any font!"
|
|
puts "REQUIRED All: Font_FontMgr, error: unable to find Western fallback font!"
|
|
|
|
dtracelevel trace
|
|
pload VISUALIZATION
|
|
|
|
vfont -verbose 1
|
|
vfont -clear
|
|
# print empty list
|
|
vfont
|
|
|
|
vclear
|
|
vinit View1
|
|
vpoint p0 0 0 0
|
|
vviewcube vc
|
|
vdrawtext t "My Text, он мой!" -font "UNKNOWN" -aspect italic -pos 0 0 0 -2d -persPos -1 1 30
|
|
text2brep b "My Text, он мой!" -font "UNKNOWN" -aspect italic
|
|
vtop
|
|
vdisplay -dispMode 1 b
|
|
vfit
|
|
|
|
vdump $imagedir/${casename}.png
|