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

Typora 如何在 win 下修改中文字体啊?

  •  
  •   newcastle · 2017-02-24 15:13:58 +08:00 · 6154 次点击
    这是一个创建于 2611 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近在 win 上装了个 Typora ,可是 win 下的中文打出来的宋体丑爆了。。如何修改字体啊,不会 CSS 。。

    5 条回复    2017-02-24 22:45:27 +08:00
    lamCJ
        1
    lamCJ  
       2017-02-24 16:42:21 +08:00 via iPhone
    现在的版本只能通过改 css :<support.typora.io/Custom-Font/>

    按照文档改吧 无非是找到然后替换下字体名 不需要懂多深 css

    还有 节点发错了吧…
    mxalbert1996
        2
    mxalbert1996  
       2017-02-24 17:34:13 +08:00 via Android
    编辑你使用的主题的 CSS 文件,搜索 font-family 关键词
    newcastle
        3
    newcastle  
    OP
       2017-02-24 22:06:13 +08:00
    @lamCJ 在节点下发习惯了。。
    newcastle
        4
    newcastle  
    OP
       2017-02-24 22:38:40 +08:00
    @lamCJ @include-when-export url( http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);

    /**
    * css forked from https://github.com/GitbookIO/gitbook
    * www.gitbook.com
    * Apache License
    * https://github.com/GitbookIO/gitbook/blob/master/LICENSE
    **/

    @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    src: local('Open Sans Regular'),url('./github/400.woff') format('woff')
    }

    @font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: normal;
    src: local('Open Sans Italic'),url('./github/400i.woff') format('woff')
    }

    @font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: bold;
    src: local('Open Sans Bold'),url('./github/700.woff') format('woff')
    }

    @font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: bold;
    src: local('Open Sans Bold Italic'),url('./github/700i.woff') format('woff')
    }

    html {
    font-size: 16px;
    }

    body {
    font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    color: rgb(51, 51, 51);
    line-height: 1.6;
    }
    改哪个地方?
    newcastle
        5
    newcastle  
    OP
       2017-02-24 22:45:27 +08:00
    @lamCJ 改好了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5248 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:20 · PVG 17:20 · LAX 02:20 · JFK 05:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.