Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Dalše informacije

Canvas does not recognize the font Arial Narrow

  • 2 wotmołwje
  • 4 maja tutón problem
  • 189 napohladow
  • Poslednja wotmołwa wot dleventhal
  • Archiwowany

After setting the font property on the canvas context to "Arial Narrow", the context does not render text in the desired font. Other browsers (IE9, IE10, IE11, Chrome, Safari) all render Arial Narrow correctly. The css tricks people have mentioned on this site do not work with canvas. Here is a jsfiddle demonstrating the problem: http://jsfiddle.net/txymf/

After setting the font property on the canvas context to "Arial Narrow", the context does not render text in the desired font. Other browsers (IE9, IE10, IE11, Chrome, Safari) all render Arial Narrow correctly. The css tricks people have mentioned on this site do not work with canvas. Here is a jsfiddle demonstrating the problem: http://jsfiddle.net/txymf/

Wšě wotmołwy (2)

Additional font properties like font-stretch:condensed may be required on Windows.

See also:

Your reply refers to css properties. My question is about HTML5 Canvas. Does anyone know if this bug will be addressed soon?