eclipsesource / eclipsesource/tabris-js

Provide async version of tabris.app.registerFont()

Open
#2,055 10 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Right now it's possible to register a font inside a web worker
```Javascript
global.onmessage = ()=>{
tabris.app.registerFont("helvetica", "helvetica.ttf");
};
```
but if you set the text property inside a TextView widget on the main thread the font will not be apply.

### Environment

- Tabris.js version: 3.3
- Device: Huawei P10 Lite
- OS: Android 8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.