C
C
Coderr2012-02-05 13:53:05
Canvas
Coderr, 2012-02-05 13:53:05

Anti-aliasing text in canvas?

Hello. Actually there was a problem: I cannot smooth the text in canvas'e on html5.
ce5ab0e526611eba69a1740b73c0ece0.jpg
It is necessary that the text on the edges is not pixelated, or something, so that there is a slight anti-aliasing.
Is there any way to do smoothing?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
homm, 2012-02-05
@homm

You probably posted the wrong picture, the text is smoothed in the picture:

A
Assorium, 2012-02-05
@Assorium

I don’t remember something in the API of such a function.
Heh, the maximum that I can advise is to write non-integer coordinates of the text position)

K
Keyten, 2012-09-13
@Keyten

Just make a shadow for the text. Slightly blurry. transparent.
Or find a blur algorithm ( there are a bunch of frameworks here) and blur the text.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question