-
-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fontsize change doesn't bring any results in DrawText3D #148
Comments
I have the same problem, is there any one can help to solve? |
I don't use SharpGL anymore. Offscreen rendering in C++ and texture transfer are bringing better performance results |
ok, I partialy solved scaling the text, but in not so satisfing. |
I'm looking at this now |
The fontsize parameter doesn't (and cannot) work. Instead, perform a scale transformation before rendering the text. Closes #148.
OK I've double checked - the font height is passed to the I've removed the parameter and updated the samples. |
Thks
Il Ven 10 Lug 2020, 18:16 Dave Kerr <notifications@github.com> ha scritto:
… OK I've double checked - the font height is passed to the CreateFont
function, but the underlying wglUseFontOutlines function doesn't actually
care about the size of the font, it just creates the geometry. The *only*
way to scale the font is by performing a scale transformation.
I've removed the parameter and updated the samples.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#148 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACML3BCY3T3327KBMEVZNNLR245EBANCNFSM4FALJV2A>
.
|
is there a way to get the region size of the text? |
DrawText3d method takes a fontSize argument which seems to be not working. How to change font size using this method?
The text was updated successfully, but these errors were encountered: