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

apk for Android #25

Open
Jak2k opened this issue Dec 30, 2023 · 10 comments
Open

apk for Android #25

Jak2k opened this issue Dec 30, 2023 · 10 comments

Comments

@Jak2k
Copy link

Jak2k commented Dec 30, 2023

On android, fonts must be in a special package.

@Donnnno
Copy link
Collaborator

Donnnno commented Dec 30, 2023

Never heard of an APK font for android, can you give some more details?

@Jak2k
Copy link
Author

Jak2k commented Dec 30, 2023

I couldn't find much information on how to create this, but you might open the apk of Samsung's font as zip to see how it's made.

@Donnnno
Copy link
Collaborator

Donnnno commented Dec 30, 2023

Never seen anything like that, and I don't have any idea how that would work. It probably doesn't even work on newer android systems.

For now we're sticking to OTF and WOFF

Some launchers do allow you to change the font tho

@Jak2k
Copy link
Author

Jak2k commented Dec 31, 2023

As far as I can tell, this is used in the newest Samsung devices.

@Donnnno
Copy link
Collaborator

Donnnno commented Dec 31, 2023

I found out there's an app called zFont that can change system fonts :)

@Jak2k
Copy link
Author

Jak2k commented Dec 31, 2023

I found out there's an app called zFont that can change system fonts :)

Looks like a virus and doesn't work 🤣

@Donnnno
Copy link
Collaborator

Donnnno commented Dec 31, 2023

Oof.
Took a better look at Samsung theming, they have a strict guideline on how to get on their theme store, with applications only every two years: https://developer.samsung.com/galaxy-themes/overview.html

@TotallyAvailable
Copy link

TotallyAvailable commented Jan 1, 2024

Custom ROMs also usually come with quite a few additional fonts.
Apps can ship their own fonts as well.

Not as universal but options certainly exist

Also zFont used to be Open Source as well with some commits towards the end that I'll leave uncommented. As for malicious or not, using the Base of this Split gives 1 potential false positive and this Behavior. It is apparently also available in the Apple App Store with even lower ratings.

@Jak2k
Copy link
Author

Jak2k commented Jan 1, 2024

Custom ROMs also usually come with quite a few additional fonts. Apps can ship their own fonts as well.

Not as universal but options certainly exist

Also zFont used to be Open Source as well with some commits towards the end that I'll leave uncommented.

Is there a known way to add fonts via adb/shizuku?

@TotallyAvailable
Copy link

TotallyAvailable commented Jan 1, 2024

Without all the potential ifs and OEM provided ways (like changing Region on MIUI) I don't think there's a legit ADB specific way after /system went read-only. As I don't own a Samsung I can't comment on the opportunities of something like https://github.com/BLuFeNiX/SMTShell (won't work anyway on Devices that still receive updates) either.

With Google actually enforcing Play Integrity you get what your device manufacturer decides you like...truly an operating system of freedom and choice.
As for useful stuff that has been done https://github.com/ThePBone/awesome-shizuku

There are reasons for limitations of course and fonts fall in that bucket of potential harm...more reason for a by default provided wide selection of fonts by the manufacturer.

Short answer as I don't know (and do not plan on changing it) what zFont is actually capable of, the mention of Magisk Font Module in the changelog probably has a reason.

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

No branches or pull requests

3 participants