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

Jetbrains IDE 在 JDK8 中字体渲染的问题

  •  
  •   foccy · Feb 29, 2016 · 4705 views
    This topic created in 3712 days ago, the information mentioned may be changed or developed.

    环境:
    OS X Yosemite
    JDK 1.8.0.73 or 1.6.0.65

    JDK6中:
    JDK6

    JDK8的某些版本中:
    JDK8

    查了下应该是在 JDK8 的某些版本中,字体渲染有问题( subpixel 不起作用?就是看起来变细了,在非 retina 下感觉不能看)。有解决方法吗?

    16 replies    2016-03-02 07:13:52 +08:00
    20015jjw
        1
    20015jjw  
       Feb 29, 2016
    换 retina 咯 :)
    azurefire
        2
    azurefire  
       Feb 29, 2016 via Android
    JB 家的最近版本不是都自带 JRE 么?
    kassadin
        3
    kassadin  
       Feb 29, 2016   ❤️ 1
    If you're curious about the difference: Java 6 performs rendering with Quartz, where in addition to slightly changing the colors, the fonts are rendered with subpixel LCD antialiasing. This might be the JDK bug tracking this: https://bugs.openjdk.java.net/browse/JDK-8023794

    https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under
    ewBuyVmLZMZE
        4
    ewBuyVmLZMZE  
       Feb 29, 2016
    嗯,这个字体变细的问题已经很久了,差不多出现快 1 年多了。早就习惯细细的字体了, 23333
    jsonline
        5
    jsonline  
       Feb 29, 2016
    渲染方式变了,你要自己把所有字体的颜色调亮。
    boxcounter
        6
    boxcounter  
       Feb 29, 2016
    忍忍,就习惯了。我现在已经无感了……
    allan1st
        7
    allan1st  
       Feb 29, 2016
    IDEA 15 开始就自带了 JDK ,解决了这个问题。
    foccy
        8
    foccy  
    OP
       Feb 29, 2016
    @allan1st 打不出全角句号吧?
    allan1st
        9
    allan1st  
       Feb 29, 2016
    @foccy 试了一下,的确是这样。由于我 IDE 内基本不用中文,所以一直没发现过。又试了下,复制粘贴是可以的。
    又试了下,只有那个 Apple 的 1.6 是可以的, Oracle 1.8 JDK 或者 IDE 自带的都是不行的。
    IamJ
        10
    IamJ  
       Feb 29, 2016
    用自带的 JDK ,可以设置字体的渲染方式的。
    打开,设置 Appearance & Behavior > Appearance ,找到 Antialiasing ,设置为 Subpxied
    foccy
        11
    foccy  
    OP
       Feb 29, 2016
    @IamJ 设置 Subpixel 和 grayscale 没区别。。。
    IamJ
        12
    IamJ  
       Feb 29, 2016
    不知道跟系统有没关系,我的是 OS X EI Capitan
    ewBuyVmLZMZE
        13
    ewBuyVmLZMZE  
       Mar 1, 2016

    用 Oracle JDK 效果。

    用 IDE 自带 JDK 的效果。
    一直都是用 Oracle JDK 8 跑 IDEA ,刚才测试了一下 IDE 自带的 JDK ,已经修复了那个字体过细的问题。
    Pazzilivo
        14
    Pazzilivo  
       Mar 1, 2016
    @syhily 求字体和配色。。
    ewBuyVmLZMZE
        15
    ewBuyVmLZMZE  
       Mar 1, 2016

    @Pazzilivo 你指的是这个编辑器字体和配色?我觉得不是很好看的说。
    字体是 PragmataPro ,配色是我自己调的。
    foccy
        16
    foccy  
    OP
       Mar 2, 2016
    @syhily 不能输入全角句号吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1813 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 16:16 · PVG 00:16 · LAX 09:16 · JFK 12:16
    ♥ Do have faith in what you're doing.