Własna czcionka w Pixi.js

Próbuję załadować niestandardową czcionkę do Pixi.js (framework 2D WebGL).

Mają przykład z użyciem czcionek Google .woff:

https://github.com/GoodBoyDigital/pixi.js/tree/master/examples/example%2010%20-%20Text

Przekonwertowałem .ttf na .woff i dodałem w 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;
}

Pokazuje to w moim div, ale nie w mojej scenie Pixi.

...
    // create a text object with a nice stroke
    var spinningText = new PIXI.Text("I'm fun!", {font: "160px HU_Adrien", fill: "#cc00ff", align: "center", stroke: "#FFFFFF", strokeThickness: 6});
    // setting the anchor point to 0.5 will center align the text... great for spinning!
    spinningText.anchor.x = spinningText.anchor.y = 0.5;
    spinningText.position.x = 620 / 2;
    spinningText.position.y = 400 / 2;
...

questionAnswers(3)

yourAnswerToTheQuestion