Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace SimSun Font #7968

Open
faxe1008 opened this issue Mar 21, 2025 · 3 comments · May be fixed by #8006
Open

Replace SimSun Font #7968

faxe1008 opened this issue Mar 21, 2025 · 3 comments · May be fixed by #8006

Comments

@faxe1008
Copy link
Contributor

Introduce the problem

Brought up in our downstream fork of the module:
zephyrproject-rtos/zephyr#87363

There is no license for SimSun to be found.

Proposal

Replace the font with one that has a known permissive license, e.g.
https://github.com/adobe-fonts/source-han-sans/tree/master

@faxe1008
Copy link
Contributor Author

faxe1008 commented Mar 26, 2025

Generally speaking there are loads of fonts in the repository for which licensing is unclear:

./scripts/built_in_font/unscii-8.ttf
./src/libs/freetype/arial.ttf
./examples/libs/freetype/Lato-Regular.ttf
./examples/libs/freetype/NotoColorEmoji-32.subset.ttf
./examples/libs/tiny_ttf/Ubuntu-Medium.ttf
./tests/src/test_files/fonts/noto/NotoSansSC-Regular.ttf
./demos/smartwatch/assets/SpaceGrotesk-SemiBold.ttf
./demos/smartwatch/assets/RobotoSerif-Light.ttf
./demos/smartwatch/assets/RobotoSerif-Medium.ttf
./demos/smartwatch/assets/RobotoSerif-ExtraBold.ttf
./demos/smartwatch/assets/Inter_28pt-ExtraBold.ttf
./demos/smartwatch/assets/SpaceGrotesk-Medium.ttf
./demos/smartwatch/assets/SpaceGrotesk-Regular.ttf
./demos/smartwatch/assets/RobotoSerif-Black.ttf
./demos/smartwatch/assets/RobotoSerif-ExtraLight.ttf
./demos/smartwatch/assets/Inter_28pt-Thin.ttf
./demos/smartwatch/assets/RobotoSerif-Bold.ttf
./demos/smartwatch/assets/SpaceGrotesk-Bold.ttf
./demos/smartwatch/assets/Inter_28pt-Light.ttf
./demos/smartwatch/assets/RobotoSerif-SemiBold.ttf
./demos/smartwatch/assets/Inter_28pt-Regular.ttf
./demos/smartwatch/assets/RobotoSerif-Regular.ttf
./demos/smartwatch/assets/SpaceGrotesk-Light.ttf
./demos/smartwatch/assets/Inter_28pt-Bold.ttf
./demos/ebike/assets/Inter-SemiBold.ttf
./demos/ebike/assets/TrumpGothicPro-Bold.ttf
./demos/ebike/assets/TrumpGothicPro.ttf
./demos/multilang/assets/fonts/NotoNaskhArabic-SemiBold.ttf
./demos/multilang/assets/fonts/NotoSerifDevanagari-SemiBold.ttf
./demos/multilang/assets/fonts/Montserrat-Bold.ttf
./demos/multilang/assets/fonts/NotoSerifHebrew-SemiBold.ttf
./demos/multilang/assets/fonts/NotoSansSC-Medium.otf

@faxe1008
Copy link
Contributor Author

I went over the fonts a did a check (I am not a lawyer tho, be aware):

Should be OK (UBUNTU FONT LICENCE Version 1.0):

./examples/libs/tiny_ttf/Ubuntu-Medium.ttf

Rests with Microsoft seems to be forbidden to redistribute (https://learn.microsoft.com/en-us/typography/fonts/font-faq):

./src/libs/freetype/arial.ttf

Payed license:

./demos/ebike/assets/TrumpGothicPro-Bold.ttf
./demos/ebike/assets/TrumpGothicPro.ttf

OK - but no liecense file intree (SIL Open Font):

./demos/smartwatch/assets/RobotoSerif-Light.ttf
./demos/smartwatch/assets/RobotoSerif-Medium.ttf
./demos/smartwatch/assets/RobotoSerif-Black.ttf
./demos/smartwatch/assets/RobotoSerif-ExtraLight.ttf
./demos/smartwatch/assets/RobotoSerif-ExtraBold.ttf
./demos/smartwatch/assets/RobotoSerif-Regular.ttf
./demos/smartwatch/assets/RobotoSerif-Bold.ttf
./demos/smartwatch/assets/RobotoSerif-SemiBold.ttf
./examples/libs/freetype/Lato-Regular.ttf
./examples/libs/freetype/NotoColorEmoji-32.subset.ttf
./demos/multilang/assets/fonts/NotoSansSC-Medium.otf
./demos/multilang/assets/fonts/NotoSerifHebrew-SemiBold.ttf
./demos/multilang/assets/fonts/NotoSerifDevanagari-SemiBold.ttf
./demos/multilang/assets/fonts/NotoNaskhArabic-SemiBold.ttf
./tests/src/test_files/fonts/noto/NotoSansSC-Regular.ttf
./demos/smartwatch/assets/SpaceGrotesk-Light.ttf
./demos/smartwatch/assets/SpaceGrotesk-Regular.ttf
./demos/smartwatch/assets/SpaceGrotesk-Bold.ttf
./demos/smartwatch/assets/SpaceGrotesk-Medium.ttf
./demos/smartwatch/assets/SpaceGrotesk-SemiBold.ttf
./demos/smartwatch/assets/Inter_28pt-ExtraBold.ttf
./demos/smartwatch/assets/Inter_28pt-Thin.ttf
./demos/smartwatch/assets/Inter_28pt-Light.ttf
./demos/smartwatch/assets/Inter_28pt-Regular.ttf
./demos/smartwatch/assets/Inter_28pt-Bold.ttf
./demos/ebike/assets/Inter-SemiBold.ttf

To me it seems like the shipment of arial and TrumpGothicPro is potentially problematic.

@kisvegabor
Copy link
Member

I'm checking it with out designer.

In the meantime I moved the new demos to a new repo: #8022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants