Amerio.Stephane Posted July 9, 2024 Posted July 9, 2024 Hi, In 2.18.1, you improved the CIGI Symbol supports. Thanks a lot! But the text orientation is incorrectly handled: left to right: ok top to bottom: KO, same as left to right right to left: KO, actually displays text top to bottom bottom to top: KO, same as left to right We only really care for 1 & 2, so we can survive with this for the moment :) but it would be nice to have the correct mapping. Also, it would be great if other fonts (or font variation) could be supported, like bold, italic, and fixed width, through the font ID param.. Thanks!
silent Posted July 9, 2024 Posted July 9, 2024 Hi Stephane, Currently we've implemented only left to right and top to bottom methods. Other two variants probably will be added later. Font id also should be working, you only need to specify ttf paths for each id in ig_config.xml: <cigi_text_font> <font id="0" font_path="core/gui/font.ttf"/> <font id="1" font_path="core/gui/fontb.ttf"/> <font id="2" font_path="core/gui/fonti.ttf"/> <font id="3" font_path="core/gui/fontbi.ttf"/> </cigi_text_font> Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Amerio.Stephane Posted July 9, 2024 Author Posted July 9, 2024 Oh ok, thanks for the font, I must have overlooked that. Regarding the orientation, my remark was about the fact that it looks like you mixed up two orientation enum.
cash-metall Posted July 10, 2024 Posted July 10, 2024 Yes, you are right! we mixed up two orientation in enum. it is fixed in 2.19. Thanks! 1
Recommended Posts