Git Product home page Git Product logo

Comments (6)

simonsmh avatar simonsmh commented on July 29, 2024

如果调用不在配置中的字重值,系统会选择如何渲染?在字重选择上,原本的计划就是不考虑设备占用,谷歌给多少字体就用多少字体,其实对于想看出全字重来说拿3个字体就够了。

Noto Serif CJK似乎没有有更好的应用方法了,为在实际使用中几乎看不见效果而头疼也不是一天两天了,如果有更好的应用方法也可以提出。

from notocjk.

WordlessEcho avatar WordlessEcho commented on July 29, 2024

如果调用不在配置中的字重值,系统会选择如何渲染?

  • fontFamily:系统会按照regular渲染
  • textFontWeight:系统用不知道什么黑魔法渲染

from notocjk.

simonsmh avatar simonsmh commented on July 29, 2024

已移除DemiLight字重

from notocjk.

WordlessEcho avatar WordlessEcho commented on July 29, 2024

既然用了variable font,那要把DemiLight加回去吗?
关于DemiLight可以看这个:思源黑体的 DemiLight / Normal 字重因何而生? - 孫志貴的回答 - 知乎

from notocjk.

simonsmh avatar simonsmh commented on July 29, 2024

主要原因就是系统无法合理调用,textFontWeight渲染可变字体也符合效果,因此之后绝对不再考虑添加了。对于sans-serif保留100 300 400 500 700 900已经足够了,serif尤甚,只需400和700即可满足默认alias。当然由于现在可变字体尚未完善,临时加回来也是可以的。

from notocjk.

WordlessEcho avatar WordlessEcho commented on July 29, 2024

没关系,不加回来就不加回来了

from notocjk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.