-
Notifications
You must be signed in to change notification settings - Fork 23
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
一加 coloros 12 适配 #40
Labels
question
Further information is requested
Comments
麻烦你把fonts_base.xml发出来看一下 |
|
麻烦发一下源文件(修改前的) |
好的,这应该是修改前:
|
我这边提供的思路是,把
到
这部分OEM定制部分进行匹配删除。MIUI也有类似的情况,之前也有考虑过这么干,但是相比notocjk我更偏好OEM系统自己提供的字体,所以就没有管。 Line 12 in 969b5ef
如果方便的话,麻烦试一下这个pattern是否可用 |
试了一下,貌似没有生效,修改后的文件:
|
可以试一下这个pattern,改为删除匹配xml段落注释符号,但保留多行注释内的内容
这样注释内的内容后续才能匹配上 Line 17 in 969b5ef
原始:
执行后:
|
It works! Many thanks!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
字体如果需要在一加的 coloros 12 中全局生效,配置文件需要放在 /system/system_ext/etc/fonts_base.xml;我试图在 customize.sh 中把 sed 之后的文件 copy 到该位置,但是还是没有生效。我对 magisk 模块并不是很了解,只好求助 maintainer 啦!多谢!
The text was updated successfully, but these errors were encountered: