Questions tagged [textrenderer]

38 questions
0
votes
0 answers

Using Graphics.TextRenderingHint with TextRenderer.DrawText to get anti-aliased text in ToolStripItem

I need to enhance one legacy WinForms app to support the inheritance of the TextRenderingHint setting in the app forms. For simplicity, let's suppose that we have a main form with the TextRenderingHint property of the…
TecMan
  • 2,743
  • 2
  • 30
  • 64
0
votes
1 answer

Android Wear TextRenderer does not fill the bounds

I'm trying out the fairly new TextRenderer in the Android wear support library whilst making a watch face app. In the onDraw method, I call setText, and then I call draw and pass in the bounds from the parent onDraw method (280x280). String text…
keith
  • 3,105
  • 2
  • 29
  • 34
0
votes
0 answers

NoSuchMethodError for TextRenderer draw() method

I have a simple custom Canvas import com.sun.opengl.util.awt.TextRenderer; import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLEventListener; import javax.media.opengl.awt.GLCanvas; import…
Pablo
  • 161
  • 11
0
votes
2 answers

What is TextRenderer.MeasureText fucntion equivalent in c# mvc

I am using Visual studio 2013 and Mvc Framework. We are migrating the window desktop application to mvc web application.Right now i am searching the TextRenderer.MeasureText equivalent function for c# which i use in my project. Simple i want this…
Naveen
  • 1,441
  • 2
  • 16
  • 41
0
votes
0 answers

JOGL com.jogamp.graph.curve.opengl.TextRenderer is missing?

I am trying to look into the curve implementation of the JOGL TextRenderer class. According to a post by mr Goethel it is a better alternative to the awt implementation. It appears, however, that this new TextRenderer is missing from JOGL. It is…
PiMan
  • 55
  • 10
0
votes
1 answer

TextRenderer not displaying text

Following are implementation methods of GLEventListener For some reason, no text is shown on screen? The rest of my level objects draw fine. (with the exception of they all being tinted red) private TextRenderer renderer; public void…
bobbyrne01
  • 6,295
  • 19
  • 80
  • 150
0
votes
3 answers

Change UIWebView's color while loading content

I have a UIWebView in my app that shows some html-formatted text (loaded from a .plist file from my bundle). The UIWebView takes about 1 second to render the text on the screen and during that second the whole UIWebView is white. I have tried…
Dimitris
  • 13,480
  • 17
  • 74
  • 94
0
votes
1 answer

Is there an alternative to any limit to the number of TextRenderer.DrawText or Graphics.DrawString in an event stack?

Seems ironically appropriate for this site, I am trying to paint a bunch of text in a number of places on an overlay form, and after trying to render 16 DrawText calls the form shows a red angled cross instead of the text. Is there a better way for…
stackuser83
  • 2,012
  • 1
  • 24
  • 41
1 2
3