[Interest] Removing fonts from qrc in webassembly
Adam
qt_interest at xibo.at
Mon Feb 12 19:21:34 CET 2024
I'll answer my own question.
Maybe there is a faster way, but i removed them from the qt sources and
built my own qt version.
the patch is attached.
I'll probably open a bug on this, not sure whether somebody will work on
it, but there should be at the very least a configure switch imo :)
cheers, Adam
On 10/02/2024 14:48, Adam wrote:
> Hi,
>
> I'm continuing our quest to reduce the wasm file size. I found, that
> there are 3 fonts packaged together with qt:
>
> :/fonts/DejaVuSans.ttf" size: 739 kb
> :/fonts/DejaVuSansMono.ttf" size: 232 kb
> :/fonts/Vera.ttf" size: 64 kb
>
> together that is 1mb. we are not using them as we package our own font
> in addition. How can we remove them?
>
> We are using Qt6.6 and CMake.
>
> thanks, Adam
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_vera_and_dejavu.diff
Type: text/x-patch
Size: 2306 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240212/ed9a66cd/attachment.bin>
More information about the Interest
mailing list