1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-15 12:35:51 +03:00
kgv 36e28f96f6 0031079: Visualization - embed minimal fallback font
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.
2019-10-27 00:43:06 +03:00

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