Song

Results 294 comments of Song

@DreamNya 这一块的代码还是有问题,但是我不会改。。。1000 已经是正常的宽度了,再小就太挤了

应 @leejch 要求,删除 #417. 原内容: ## 问题描述 | Description 使用 V7.0 版本构建字体时,参数 `--cn-narrow` 没有在所有字重(weight)上成功生效,仅在部分字重有效。 When building fonts with the latest V7.0 version, the parameter `--cn-narrow` doesn't fully take effect across...

@58faf2e2 有个550宽度的测试版,下个大版本会上 https://github.com/subframe7536/maple-font/releases/tag/v7.0-beta28.1

成了 ![Image](https://github.com/user-attachments/assets/1f5875e2-e429-428c-b992-3e46d4a1ff2e)

@fengsuiyvmin 可以在 `config.json` 中修改 `"cn.scale_factor": 1.1` 或者添加命令行参数 `--cn-scale-factor 1.1` 实现中文字符的缩放

> 这个版本中西文宽度分别是多少呢? 好像没有等宽? 是的,中文1000,英文600

> 550宽度的最新代码是哪一版呀? 有对应的tag或者分支吗? 这款550简直完美, 太需要了!!! 👍 目前就只有beta版

> @subframe7536 基于最新的v7.7代码,你是如何调出中文1000,英文600(550)?从而减少中文字体的间距?我在另外的[分支](https://github.com/harmonsir/maple-font/commits/variable/)调了,没成功。看了代码,很多地方用*2,或者/2的方式来处理比例,有些耦合,改不动。 `--cn-narrow` 也不行吗?

> > `--cn-narrow` 也不行吗? > > _我试试+ `--cn-narrow`_ > > - build 指令: `build.py --cn --no-nf --no-liga --normal --no-hinted --ttf-only` > > - json 文件: > ``` > "use_hinted": false,...

> @subframe7536 我没有理解错代码的话,最后是由函数`change_glyph_width_or_scale`来控制字体的width/scale,对吧? 对的,但是宽度是读取 `FontConfig` 的 `glyph_width_cn_narrow`,目前是写死的