two usage questions on `--user-wordlist`

未关闭
#72 5 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@m4rc1e 已经在做这个了。

开始于 2023年7月4日。

评估

这个 Issue 还没有评估数据。

描述

Today is my first time trying out diffenator2. It is AWESOME. Really, it’s so useful. Thank you for making it!

I’m currently a little stuck on how to use custom wordlists. One thing I’d like to do is make a wordlist representing all the OT features in my font, and check those for each new version. So, I’ve started from the example in the readme, and updated that a bit:

a,latn,dflt,ss09
1/4,,,frac
10/23,,,frac
0123456789,,,numr,tnum,onum
DES,,,sups,ordn

This gives me two questions:

  1. Where does the wordlist output go? My expectation (without digging too deep) is that it would generate a file called something like “user-wordlist-proof.html”, or that it might be put into diffbrowsers_proofer.html or diffenator.html. But, I’m not seeing it anywhere. Do the strings only appear if they are specifically different/changed between versions? This is my current guess, but I kind of wish there were also a proof output to confirm that items in the user wordlist are working as expected, as that alone would be helpful.
image
  1. If I have a set of many words to proof for a given OT feature, do I have to repeat that line in the wordlist file for each of them? The answer in https://github.com/googlefonts/diffenator2/issues/69 seems to say so. But, in my example above, with the last line DES,,,sups,ordn, I’m really hoping to proof a set of ordinals. Ideally, I would want to proof a long string of them, ideally with a word spaced list, like the following: A C D E O R T Ú c d e r t ú AS DE DES DS EME ER ERE ERS ES GR IEME LLE ME ND OS RD RE RES ST STE TH as de des ds eme er ere ers es gr ieme lle me nd os rd re res st ste th. But, putting them onto one per line would be a bit inconvenient, especially because I have quite a few other features to also proof. Is there a better way? If not, that is understandable, and I’m partly just including this a user feedback.

Thanks again!

主要语言
Python
星标
71
派生
9
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

googlefonts/diffenator2 的其他 Issue

查看 googlefonts/diffenator2 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。