Questions tagged [text-rendering]

Text rendering means processing text for display to a user. This includes matters of character set, text direction and orientation, font face, capitalization, styling, and effects.

Text rendering means processing text for display to a user. This includes matters of character set, text direction and orientation, font face, capitalization, styling, and effects.

336 questions
133
votes
13 answers

Draw text in OpenGL ES

I'm currently developing a small OpenGL game for the Android platform and I wonder if there's an easy way to render text on top of the rendered frame (like a HUD with the player´s score etc). The text would need to use a custom font also. I've seen…
shakazed
  • 1,493
  • 2
  • 10
  • 10
119
votes
11 answers

Vertical (rotated) text in HTML table

Is there a (portable) way to rotate text in a HTML table cell by 90°? (I have a table with many columns and much text for the headings, so I'd like to write it vertically to save space.)
Florian Jenn
  • 5,211
  • 4
  • 23
  • 18
61
votes
2 answers

Setting LCD gamma / contrast (IntelliJ IDEA, JDK 8)

I am having trouble with anti-aliased text in IntelliJ IDEA. That thing for some reason ships with its own version of OpenJDK 8. Anyway... sub-pixel aliasing is acceptable with dark-on-bright text: But the gamma is wrong for bright-on-dark…
0__
  • 66,707
  • 21
  • 171
  • 266
48
votes
5 answers

font-weight:700 or font-weight:bold which one we should follow in CSS?

I have seen some websites, which mentioned in CSS - font-weight: 700 or font-weight: bold. But both results are the same. Which one is the correct and how should we follow? Please suggest me.
Pavan Kumar
  • 1,616
  • 5
  • 26
  • 38
44
votes
2 answers

How to convert a string to an image?

I started to learn python a week ago and want to write a small program that converts a email to a image (.png) so that it can be shared on forums without risking to get lots of spam mails. It seems like the python standard library doesn't contain a…
Marco-
  • 543
  • 2
  • 5
  • 8
42
votes
6 answers

Is it safe to use the CSS rule "text-rendering: optimizelegibility;" on all text?

I noticed this woo theme for example has it set on the HTML tag and therefore the whole site's text has it set. I read that it can cause performance problems but that was a while ago. Some people suggested only adding it to headers and big text.…
firefusion
  • 1,087
  • 2
  • 14
  • 26
40
votes
7 answers

How to do OpenGL live text-rendering for a GUI?

I'm implementing a GUI built on top of OpenGL. I came to the problem that each GUI will have -- text rendering. I know of several methods of rendering text in OpenGL, however, I'm wonderin which of them would be best suited for a GUI. Generally in a…
Kornel Kisielewicz
  • 55,802
  • 15
  • 111
  • 149
30
votes
5 answers

Symbol not displaying properly

The symbol is: ؤْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْْ What's so special about this symbol and where did it come from? What…
chaosifier
  • 2,666
  • 25
  • 39
23
votes
7 answers

How can I prevent text displacement for some foreign language fonts?

I have a multilingual project (currently 13 languages), which uses many different font variations of "Helvetica Neue", mostly bold, condensed and regular cuts from the LinoType Pro font set ( which includes western european characters) and the same…
22
votes
1 answer

Why can't DirectX/DirectWrite/Direct2D text rendering be as sharp as GDI?

I already know that sub-pixel positioning causes DirectWrite text rendering to be blurry compared to GDI. However, my question is a bit more fundamental: Why can't DirectWrite (and related methods) be made to render text as sharply as GDI? In other…
user541686
  • 205,094
  • 128
  • 528
  • 886
16
votes
7 answers

IE 9 does not use sub-pixel antialiasing under certain conditions

[Original title: IE 9 text renders very poorly; is there a workaround?) IE 9 is rendering the text in my application very poorly. The problem is not in my monitor's Clear Type settings, since IE 9 in compatibility mode, Firefox, and Chrome all…
Jacob
  • 77,566
  • 24
  • 149
  • 228
16
votes
3 answers

'Lato' font rendering odd in safari, not in chrome, or firefox

Im using the 'Lato' font from google web fonts, and its displaying fine on all browsers apart from safari. Im using it in font-weight:100; here are some screen shots of the different browsers. Any idea what might be causing it to render extremely…
sam
  • 9,486
  • 36
  • 109
  • 160
14
votes
1 answer

IE Text Rendering Over a Gradient

IE 8 and lower render text awfully if it is over any element that has a "filter" applied. Nothing really surprising with that. I usually just avoid using "filter". However, I was doing some testing in IE9 and I noticed a HUGE problem; text that is…
Jo Sprague
  • 16,523
  • 10
  • 42
  • 62
13
votes
2 answers

Devanagari text rendering improperly in PyGame

We have a small web app that we want to convert into something native. Right now, it's got a lot of moving parts (the backend, the browser etc.) and we'd like to convert it into a single tight application. We decided to use PyGame to do this and…
Noufal Ibrahim
  • 71,383
  • 13
  • 135
  • 169
13
votes
1 answer

Blurry text Electron

I have has some issues with text and icon fonts looking blurry in an electron application. I have tested the same HTML page in Chrome and the text and icon font look much crisper. After zooming the image I can see that Chrome is using subpixel…
user2248702
  • 2,741
  • 7
  • 41
  • 69
1
2 3
22 23