Remove Ubuntu font and use system-ui or sans-serif generic font #11

Closed
opened 2021-02-14 22:56:44 +01:00 by miraty · 1 comment
Owner

Almost 90% of the size of the main LibreQR page is the font.

The actual page (118 KiB) could be reduced to 20 KiB by simply using something like font-family: system-ui, sans-serif; instead of loading this 98 KiB font file.

Almost 90% of the size of the main LibreQR page is the font. The actual page (118 KiB) could be reduced to 20 KiB by simply using something like `font-family: system-ui, sans-serif;` instead of loading this 98 KiB font file.
Author
Owner

Done in commit 6ced4390e7.

Done in commit 6ced4390e7.
miraty added this to the 2.0.0 milestone 2021-03-07 23:18:32 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: miraty/libreqr#11
No description provided.