Custom font in Pixi.js
问题 I try to load a custom font into Pixi.js (2D WebGL framework). They have an example using .woff google fonts: https://github.com/GoodBoyDigital/pixi.js/tree/master/examples/example%2010%20-%20Text I converted my .ttf to .woff and added in css: @font-face { font-family: "HU_Adrien"; src: local('HU_Adrien'), url('HU_A0046.woff') format('woff');; } div.font{ font-family: "HU_Adrien"; color: white; } It shows in my div but not in my Pixi stage. ... // create a text object with a nice stroke var