Comments (12)
小米的手机会使用小米兰亭Pro,可能你看到的字体并非 Noto CJK,请试试在 Chrome 底下查看字体
from notocjk.
我确定不是小米兰亭(国际版,fonts 文件夹和 fonts.xml 都没有;notocjkTW 真的明显),而且是全字重。
Chrome 查看字体什么操作(?
我瞎猜是不是字体内也写了语言代码,调用的时候直接看了那个,index 就没起作用(
from notocjk.
那将系统语言切到韩文呢?应用自身的语言也可能会影响使用的字形。
此外,fonts.xml在/system/etc,修改请到/sbin/.magisk/modules/notocjk/system/etc,也请再检查一下
from notocjk.
确认两边都是改了的样子。/etc 也一样(这个文件夹和 /system/etc 有什么关系?)。
不论是系统语言还是浏览器中的相应语言,效果都和没改一样。系统语言切换到韩文自然系统的字形是 KR,但在繁体中文网页上,还是 TW 字形。
把繁体中文下的 index 改掉了,应用的语言即使是繁体中文还会使用 TW 字形?TW 字形不应该直接出不来吗?
香港繁体和**繁体的区别是不是没有在 fonts.xml 体现?但是在这两种语言下,字形不同。
作为对照,只把字体拷到 /system/fonts 中而不修改没有效果。
from notocjk.
- 我觉得应该是没有完全更改的原因,如果还想尝试的话建议直接更改模块压缩包内的customize.sh文件。
将L11到L18范围的index="3"
替换为index="1"
,然后重新刷入,而不是直接修改fonts.xml
。 - 香港繁体和**繁体暂时不知道如何区分修改,因为Google直到Android R为止自己也没有使用香港繁体,香港字体是
index="4"
- 字体应该是不会有问题的,5种字形都有,韩文确实是
index="1"
,可以拿otc2otf.py
脚本检查offset
Input font: system/fonts/NotoSansCJK-Black.ttc
Version: 65536. numFonts: 5.
font 0 offset: 32/0x00000020. NotoSansCJKjp-Black
font 1 offset: 300/0x0000012C. NotoSansCJKkr-Black
font 2 offset: 568/0x00000238. NotoSansCJKsc-Black
font 3 offset: 836/0x00000344. NotoSansCJKtc-Black
font 4 offset: 1104/0x00000450. NotoSansCJKhk-Black
from notocjk.
- 我就是这么改的。
- 修改前后,语言为港/台时字形都不同(修改前是字重不全的思源黑体)。这是 MIUI 在别处儿加的特性,没改到?还有什么地方可能有字体定义文件?
from notocjk.
应该只有fonts.xml,方便的话你可以提取一份发到这里
from notocjk.
是不支持 xml 文件吗
fonts.txt
前两组替换前是 Miui-Regular.ttf,fonts 文件夹中没有。
from notocjk.
看起来没有任何问题,要不试试把zh-Hans和jp也换了?
from notocjk.
一样,还是没用。只能单独放字体了?
另外,解压修改后再压缩为 zip 文件似乎 Magisk 不识别其为模块,只能在压缩文件改,这是为什么?
from notocjk.
压缩包要求符合可刷入zip的标准,可能你把文件夹打包进压缩文件了
from notocjk.
好吧,感谢解答问题~
最后祝您身体健康(
from notocjk.
Related Issues (20)
- 一些浏览器不能正确调用variable font HOT 5
- 11版本无可变字重效果 HOT 15
- Noto Serif CJK 2.000 released! HOT 4
- Support `postScriptName` on Android 12 HOT 2
- android12 调用Google Sans Text的地方都没有多字重 HOT 21
- Android 12开启Magisk Hide及本模块后闪退 HOT 13
- (建议)Regular字重不使用可变字体(使用自带的NotoCJK文件) HOT 14
- [Feature] Add updateJson support HOT 3
- Google Sans customization xml 检查出错 HOT 11
- Android12的MIUI13 HOT 2
- 在不借助magisk的情况下可能实现本模块的效果吗 HOT 4
- 刷入模块时报错 HOT 1
- 一加 coloros 12 适配 HOT 8
- MIUI EU 套用失敗 HOT 2
- 在 Android 13 QPR1 Beta 2 上导致锁屏数字变为 Roboto HOT 7
- 能否向 LinageOS 等常见 Android ROM 提交补丁? HOT 8
- Noto Serif CJK发布2.002版本 HOT 2
- version.json里面的zipUrl还是指向的22版本
- [Feature Request / RFC] 配合 FontManagerService 将字体文件安装到 data 分区 HOT 12
- 一加修改 font.xml 修改到注释里 导致中文部分不生效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notocjk.