Comments (5)
pardon for the interruption, before of all, sorry for poor english - I don't read/or/write it often.
anyway, I'm also getting little confusion on it, set key of what?
As long as I understood, fontname said in (object key)
is the font that should be replaced, and the value of (object key).replace
is the destination font; so when I do set key to CJK fallback font, results should be like below;
fonts:
Gulim:
replace: 맑은 고딕
Gulim: # guide said, set key to (ry), but key of where?
replace: Roboto
but... this will result in key conflict.
or, may I interpret set key to CJK fallback font
as replace destination font to english-only font
?
let's make an example, if user wants to replace Gulim
to Malgun Gothic
, but keep english glyphs in Roboto
(which only supports latin characters), then is this what README meant?:
fonts:
Gulim: # (from)
replace: 맑은 고딕 # (to)
<<: *style
'맑은 고딕': # (from)
replace: Roboto #(to)
from fontmod.
@hibiyasleep "CJK fallback font" is a Qt-specific term. Because Qt checks if current font supports character to render. If not, Qt will use another font.
So if the main font is Open Sans
, which does not include CJK characters. Qt will fallback to other font. If you want to keep Open Sans
for English characters, but only replace CJK characters font, you need to replace only the "CJK fallback font".
But if you want replace Gulim
with Malgun Gothic
, but keep English characters Roboto
. You need to use third-party tools to combine Roboto
and Malgun Gothic
into one font, and replace Gulim
with this custom font.
from fontmod.
"key" is the key of yaml objects. https://en.wikipedia.org/wiki/YAML#Basic_components
For example:
foo:
bar: baz
foo
and bar
are keys.
from fontmod.
you need to set key to CJK fallback font.
i want keep english default font. but tutorial is not shown how to set key.
please example..
from fontmod.
fonts:
SimSun: &zh-cn-font # Chinese (Simplified) fallback font
replace: Microsoft YaHei
<<: *style
Here SimSun
is the "key".
from fontmod.
Related Issues (20)
- [Question] How to use the overridings ? HOT 7
- [Feature Request] Support GDI+ HOT 9
- 请问FontMod64.dll和FontMod32.dll,Win10 64位专业版用哪个?还是两个一起用? HOT 5
- TG Desktop 2.8.5 Beta 不允许 DLL 注入了 HOT 6
- Telegram 2.8.8 stable breaks everything HOT 1
- Telegram 2.8.8 似乎不再载入 `winmm.dll` HOT 2
- Telegram 2.8.5+ don't allow any .dll-s near Telegram.exe HOT 5
- 用在最新telegram上不起作用 HOT 5
- 无法修改字体大小,不会自动生成配置文件FontMod.yaml HOT 1
- Workaround: Telegram Desktop HOT 10
- MyGetStockObject 方法遗漏了 DEFAULT_GUI_FONT
- Linux Arch HOT 1
- 無法替換為特定字型
- fonts won't apply on FontMod v3 HOT 5
- font can not be changed in newest telegram version(x64 v4.6.1) HOT 6
- 英文系统,telegram修复不管用呀
- [Request] Enable GitHub Discussions for sharing experiences and working examples HOT 1
- Fontmod 3.x
- exe程序无法应用Fonts文件夹的字体文件 HOT 18
- Registry font-editing does not working anymore. Is there any workaround about that? HOT 1
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 fontmod.