Im using a special font for the website using @ font-face. The font is rendered with DOM elements, but it is not suitable for CANVAS. What am I doing wrong?
Here is a demo: http://enriquemorenotent.com/demos/cube2/
Good, funny. All I had to change was:
context.font = "36px myFont bold";
for
context.font = '36px "myFont" bold';
Source: https://habr.com/ru/post/1399406/More articles:Slim Framework โ Create XML Output - xmlMove TinyMCE with jQuery - jqueryAsp.net SQL Server 2008 search function and fixed time - c #New Ruby 1.9 hash syntax - ruby โโ| fooobar.comHow to extract real file URI or file data from a path that looks like "/ content: / media / external / video / media / 19"? - androidA high processor, perhaps due to context switching? - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1399408/irepository-pattern&usg=ALkJrhgpga6C24Sz1n-S0hqR7cVwDcTnMAHow to use getters in handlebars.js templates? - javascriptAmazon Marketplace XML parsing with LINQ - c #Elegant char set to replace in JavaScript / jQuery - javascriptAll Articles