How to measure the width of a fonts character in Noesis1.3
Posted: 28 Jan 2017, 10:57
Hi everyone:
I want to measure the width of TextBlock with specifying font.
By the way, i am using noesis 1.3 beta4 in windows(native c++) and ios platform.
And i have found the topic viewtopic.php?f=3&t=295&p=1460&hilit=Font#p1460.
However, it does not work now.
I can't find IVGLFontSystem and IVGLFontSystem in 1.3beta4.
Is there any idea or any alternative for this feature using 1.3beta4.
Thanks!
I want to measure the width of TextBlock with specifying font.
By the way, i am using noesis 1.3 beta4 in windows(native c++) and ios platform.
And i have found the topic viewtopic.php?f=3&t=295&p=1460&hilit=Font#p1460.
However, it does not work now.
Code: Select all
Noesis::Drawing::IVGLFontSystem* fontSystem =
NsGetSystem<Noesis::Drawing::IVGLFontSystem>().GetPtr();
Ptr<Noesis::Drawing::IVGLFont> font = fontSystem->CreateFont(
fontFamilyName, fontWeight, fontStyle, fontSize, strokeThickness);
Is there any idea or any alternative for this feature using 1.3beta4.
Thanks!