Ecdar / Ecdar/Ecdar-GUI-Web

[Feature] Support for WOFF and WOFF2 files types in the GlobalFontLoader

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Suggestion
Currently the application only accepts font with the filetype _.ttf_ and _.otf_. The most modern font types are _.WOFF_ and _.WOFF2_ and support for those should therefore be added.

### Potential Solution
The solution to this should be fairly simple as it only requires the change of the accepted uploaded file types in `src/lib/components/settings/FontSettings.svelte`:
![image](https://github.com/ECDAR-AAU-SW-P5/Ecdar-GUI-Web/assets/90306530/2e1a485c-61cb-49bf-8c32-fbd9859d29e8)

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.