Announcement

Collapse
No announcement yet.

Fonts size issues

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fonts size issues

    Hi,

    I am having some problems with the font size in Kubuntu 17.04. After the installation all the fonts were really small especially in the terminal and I had to increase the DPI to 115 using the force DPI option in the Fonts settings. At work we have CentOS and Mate both using 101 DPI and the fonts are substantially larger. It seems that after setting the DPI Chrome and Firefox don't obey the new DPI or at least not on all pages. I tried using the scale display option but using fractional values makes some things to look fuzzy. This is how it currently looks: https://i.imgur.com/np6MTP4.png.

    Some additional info:

    Code:
    [FONT=monospace]xdpyinfo | grep -B2 resolution
    screen #0:
    dimensions:    1920x1080 pixels (508x285 millimeters)
    [COLOR=#FF5454][B]resolution[/B][/COLOR]:    96x96 dots per inch
    
    [/FONT]
    Code:
    [FONT=monospace]xrandr
    Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
    DP-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1 disconnected (normal left inverted right x axis y axis)
    HDMI-2 disconnected (normal left inverted right x axis y axis)
    HDMI-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 475mm x 267mm
    1920x1080     60.00*+
    1600x1200     60.00   
    1680x1050     59.88   
    1280x1024     60.02   
    1440x900      59.90   
    1280x960      60.00   
    1280x720      60.00   
    1024x768      60.00   
    800x600       60.32   
    640x480       59.94   
    720x400       70.08  
    
    [/FONT]
    Last edited by sabotage3d; Oct 25, 2017, 02:38 PM. Reason: grammar

    #2
    You might try changing the system DPI rather than just the font setting. AFAIK, xorg fonts are either 75 or 100 DPI (Windows fonts are 96) and I personally find the look clearer when the DPI is square. Often, xorg will calculate a rectangular DPI. For example, mine defaults to 110x109.

    Try resetting the font DPI to normal, and changing the system-wide font to whatever you want. The best way to do that would depend on your video card/driver, but easy enough to add an xrandr command to rc.local:

    xrandr --DPI 115x115

    Alternately, in /etc/X11/xorg.conf.d/ add a file named 40-monitor.conf and put this in it:

    Code:
    Section "Monitor"
        Identifier  "Monitor0"
        Option      "UseEdidDpi" "false"
        Option      "DPI" "115 x 115"
    EndSection
    Finally, browsers may have their own settings that over-ride xorg. You'd have to search their documentation for that.

    Please Read Me

    Comment

    Working...
    X