diff options
| author | Morten Sørvig <morten.sorvig@qt.io> | 2023-03-24 15:39:08 +0100 |
|---|---|---|
| committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2023-04-25 21:38:08 +0000 |
| commit | 15dab565d071455ef08d6bf4ad4980f726df1cfa (patch) | |
| tree | 57da86701ef91d78a6935b68af55d97e8d1fc8e1 /src/widgets/doc/snippets/qtablewidget-using/main.cpp | |
| parent | c10c66e552e3ab19758709e84bac187cda27962c (diff) | |
wasm: rework local font support
Populate a subset of the font families at startup if the local fonts
access API is supported, and the access permission has been given.
Since this code runs at app startup there is no opportunity to request
font access. That should be done in response to user action, for
example by having a "load local fonts" button in the application.
Pick-to: 6.5
Change-Id: Ib6826deeec06ee3def0e793dd1462977710462be
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
Reviewed-by: Aleksandr Reviakin <aleksandr.reviakin@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-using/main.cpp')
0 files changed, 0 insertions, 0 deletions
