V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mathzhaoliang
V2EX  ›  程序员

Ubuntu 下 Firexfox + Stylus 字体不起作用

  •  
  •   mathzhaoliang ·
    neozhaoliang · 2021-02-04 09:10:23 +08:00 · 846 次点击
    这是一个创建于 1149 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我用的是 ubuntu 18.04 + firefox 84.0.2,安装了 stylus 。想针对 github 的网页代码浏览做一些字体上的优化,结果发现在 stylus 的 css 文件里设置 .input textarea, blob-code-innerfont-family 为 monaco, fira code 这些编程字体时不起作用,貌似只有 monospace, courier 等少数字体是可以显示的。请问这个是怎么回事?大家有遇到过的吗?

    我在 chrome 中使用 stylus 设置字体可以正常显示,所以可以排除字体安装的问题。

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5636 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:30 · PVG 14:30 · LAX 23:30 · JFK 02:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.