V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
newcastle
V2EX  ›  macOS

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

  •  
  •   newcastle · Feb 24, 2017 · 6667 views
    This topic created in 3350 days ago, the information mentioned may be changed or developed.

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

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

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

    还有 节点发错了吧…
    mxalbert1996
        2
    mxalbert1996  
       Feb 24, 2017 via Android
    编辑你使用的主题的 CSS 文件,搜索 font-family 关键词
    newcastle
        3
    newcastle  
    OP
       Feb 24, 2017
    @lamCJ 在节点下发习惯了。。
    newcastle
        4
    newcastle  
    OP
       Feb 24, 2017
    @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
       Feb 24, 2017
    @lamCJ 改好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5066 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:48 · PVG 17:48 · LAX 02:48 · JFK 05:48
    ♥ Do have faith in what you're doing.