You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just migrated from v6 to v7.2.3. I am now loading fonts through Assets and manifest.
The entry of my font in manifest is like this
{"name": "Roboto-Bold", "alias": "Roboto-Bold", "src": ["assets/fonts/en/Roboto-Bold.ttf"]},
(I have tried only name, only alias too with same result).
Now when creating text I am passing the below object to new Pixi Text.
{
"fontFamily": "Roboto-Bold",
"fontSize": 44,
"fill": 0,
"breakWords": true
}
But it shows me in missing font style.
Expected Behavior
The text should with Roboto font.
Steps to Reproduce
Use the above code.
Environment
pixi.js version: e.g. 7.4.0
Browser & Version: e.g. Chrome 108
OS & Version: e.g. windows
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Current Behavior
I have just migrated from v6 to v7.2.3. I am now loading fonts through Assets and manifest.
The entry of my font in manifest is like this
{"name": "Roboto-Bold", "alias": "Roboto-Bold", "src": ["assets/fonts/en/Roboto-Bold.ttf"]},
(I have tried only name, only alias too with same result).
Now when creating text I am passing the below object to new Pixi Text.
{
"fontFamily": "Roboto-Bold",
"fontSize": 44,
"fill": 0,
"breakWords": true
}
But it shows me in missing font style.
Expected Behavior
The text should with Roboto font.
Steps to Reproduce
Use the above code.
Environment
pixi.js
version: e.g. 7.4.0Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: