GTK L&F Font size

Using j2sdk 1.4.2_03 on Mandrake Linux and KDE. When I enable the GTK L&F just about every text using the default font is about twice as big as it should be. This version of the SDK should have this bug fixed according to release docs. My xserver DPI is 150x150.
If I explicitly set the font to "Dialog", I get the correct font size. Are there any other workarounds?

Solved, i.e. a workaround. I ran gnome-font-properties and changed some properties for font dpi and title fonts.,

Similar Messages

  • GTK font size

    I use KDE 3.5.8 and after upgrading to xorg 7.3 all my video modes and font sizes went nuts. That's solved now, but GTK apps still display a tiny font.
    If I recall correctly, in previous KDE versions, kcontrol had an option to apply font preferences to Qt and GTK apps, but I can't find it now. I fixed the Qt ones with "qtconfig", does something similar exist for GTK? How can I increase size font beyond "microscopic almost invisible"?

    All you need to do is create a couple text files. a .gtkrc and a .gtkrc-2.0 file under /home/username to manipulate the font and size.
    This is the contents of my .gtkrc file...
    style "tooltips"
            bg[NORMAL] = "#ffffcc"
            fg[NORMAL] = "#000000"
        widget "gtk-tooltips*"        style "tooltips"
    style "user-font"
    fontset="-*-bitstream vera sans-medium-r-normal-*-16-*-*-*-*-*-iso8859-1"
    widget_class "*" style "user-font"
    This is the contents of my .gtkrc-2.0 file...
    include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"
    style "user-font"
        font_name="Bitstream Vera Sans 12"
    widget_class "*" style "user-font"
    gtk-theme-name="QtCurve"
    gtk-font-name="Bitstream Vera Sans 12"

  • Change application font size in Thunderbird 3.

    How can I change the font size in Thunderbird 3? The bold fonts are to bold and the general font size is to big I think.
    I have tested with creating a chrome folder in the default profile. The userChrome.css looks like this. But it didn't work.
    * Edit this file and copy it as userChrome.css into your
    * profile-directory/chrome/
    * This file can be used to customize the look of Mozilla's user interface
    * You should consider using !important on rules which you want to
    * override default settings.
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
    * Some possible accessibility enhancements:
    * Make all the default font sizes 20 pt:
    * font-size: 20pt !important
    /* Global UI font */
    font-size: 6pt !important;
    EDIT: Seems like the bold font is a more global problem. This is from Firefox
    I have installed the ubuntu patched fonts. My ~/.fonts.conf looks like this.
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font" >
    <test compare="more" name="weight">
    <const>medium</const>
    </test>
    <edit mode="assign" name="autohint">
    <bool>true</bool>
    </edit>
    </match>
    <match target="font">
    <test name="weight" compare="more">
    <const>medium</const>
    </test>
    <edit name="autohint" mode="assign">
    <bool>false</bool>
    </edit>
    </match>
    </fontconfig>
    Last edited by orjanp (2009-12-17 09:52:12)

    Yes of course. My bad.
    Here it is. Some of the entries don't have a corresponding entry in conf.avail. I accidentally deleted 10-autohint.conf from conf.avail when I meant to delete it in conf.d. Ho do I get it back?
    Have tested lxappearance to change the font in GTK applications. Works, but the boldness is not looking very good yet.
    [root@ArchT400 orjanp]# ls /etc/fonts/conf.d/
    10-antialias.conf 45-latin.conf
    10-autohint.conf 49-sansserif.conf
    10-hinting.conf 50-user.conf
    10-hinting-slight.conf 51-local.conf
    10-lcd-filter.conf 53-monospace-lcd-filter.conf
    11-lcd-filter-lcddefault.conf 60-latin.conf
    20-fix-globaladvance.conf 64-ttf-arphic-uming.conf
    20-unhint-small-vera.conf 64-ttf-thai-tlwg.conf
    25-ttf-arphic-uming-render.conf 65-fonts-persian.conf
    29-replace-bitmap-fonts.conf 65-nonlatin.conf
    30-cjk-aliases.conf 69-unifont.conf
    30-defoma.conf 80-delicious.conf
    30-metric-aliases.conf 90-synthetic.conf
    30-urw-aliases.conf 90-ttf-arphic-uming-embolden.conf
    35-ttf-arphic-uming-aliases.conf 90-ttf-thai-tlwg-synthetic.conf
    40-nonlatin.conf README
    41-ttf-arphic-uming.conf

  • GTK Styles and Fonts module

    Having just got my fonts sorted out in KDE I have set-up a user login for my wife and gone through similar steps to give her a desktop that she can start working with. However, if I go into the KDE Control Centre - Appearance & Themes - GTK Styles and Fonts and then select "Use another font" under the GTK Fonts section and click "Apply", move elsewhere in the Cntrol Centre and then return, my changes have not been saved! I have repeated the process several times (and it works in my own login) but it will not save the option.
    Anyone else had this odd behaviour - I assume it must be a bug?

    You want to make gtk apps looks like kde ones ? If so, I suggest you to install oxygen-gtk, and create/edit « ~/.gtkrc-2.0 ». Here's mine:
    #gtk-theme-name = "Elegant-GTK"
    #gtk-icon-theme-name = "F-Darkest-Black"
    # KDE integration {{{
    gtk-theme-name = "oxygen-gtk"
    gtk-icon-theme-name = "oxygen"
    # Text colors in tooltips
    #style “tooltip” { fg[NORMAL] = “#000000” }
    #widget “gtk-tooltips” style “tooltip”
    gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR
    gtk-toolbar-style = GTK_TOOLBAR_ICONS
    style "user-font"
    font_name="Aller Regular 10"
    widget_class "*" style "user-font"
    #gtk-xft-antialias = 0
    #gtk-xft-dpi = 112
    #gtk-xft-hinting = 0
    #gtk-xft-hintstyle = hintnone, hintslight, hintmedium, or hintfull
    #gtk-xft-rgba = none, rgb, bgr, vrgb, vbgr.
    # Xfce desktop {{{
    style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 10
    base[NORMAL] = "#000000"
    base[SELECTED] = "#71B9FF"
    base[ACTIVE] = "#71FFAD"
    fg[NORMAL] = "#ffffff"
    fg[SELECTED] = "#71B9FF"
    fg[ACTIVE] = "#71FFAD" }
    widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
    Last edited by Drexya (2011-06-17 16:32:28)

  • GTK styles and fonts missing in KDE

    when I go to system options, there used to be GTK styles and fonts under application appearance, but I don't see it there no more.. am I missing something? is it just because of gnome3? I also tried this, but it didn't help..
    any hints?
    thank you

    You want to make gtk apps looks like kde ones ? If so, I suggest you to install oxygen-gtk, and create/edit « ~/.gtkrc-2.0 ». Here's mine:
    #gtk-theme-name = "Elegant-GTK"
    #gtk-icon-theme-name = "F-Darkest-Black"
    # KDE integration {{{
    gtk-theme-name = "oxygen-gtk"
    gtk-icon-theme-name = "oxygen"
    # Text colors in tooltips
    #style “tooltip” { fg[NORMAL] = “#000000” }
    #widget “gtk-tooltips” style “tooltip”
    gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR
    gtk-toolbar-style = GTK_TOOLBAR_ICONS
    style "user-font"
    font_name="Aller Regular 10"
    widget_class "*" style "user-font"
    #gtk-xft-antialias = 0
    #gtk-xft-dpi = 112
    #gtk-xft-hinting = 0
    #gtk-xft-hintstyle = hintnone, hintslight, hintmedium, or hintfull
    #gtk-xft-rgba = none, rgb, bgr, vrgb, vbgr.
    # Xfce desktop {{{
    style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 10
    base[NORMAL] = "#000000"
    base[SELECTED] = "#71B9FF"
    base[ACTIVE] = "#71FFAD"
    fg[NORMAL] = "#ffffff"
    fg[SELECTED] = "#71B9FF"
    fg[ACTIVE] = "#71FFAD" }
    widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
    Last edited by Drexya (2011-06-17 16:32:28)

  • Dpi or font size being automatically set somewhere - hidpi screen

    Hi All,
    I think this is a feature but I'd like to override it...
    The feature, something is detecting I have a high res screen and automatically increasing my font size.
    That's a really niice feature, only issue is when I plug an external screen and use that as my primary display, my font sizes are huge and xrandr command to set the dpi are being ignored.
    Perhaps it's not a DPI setting but a font setting, because only my fonts in gtk and kde4 apps are large, while fonts in kde5 apps (with a broken look/theme) are fine.
    Using i3, there is mention that i3 has automatic HiDPI support, perhaps that's what's tinkering with my DPI. How would I override it then?
    https://wiki.archlinux.org/index.php/HiDPI
    Primary display is 1920x1080 on 12.5" screen. I use  xrandr --auto --dpi 96 command when just using this display.
    At work I use a 21" display also 1920x1080 res. I use xrandr --output HDMI1 --mode 1920x1080 --right-of eDP1 --dpi 96 when using both displays.
    ~ xdpyinfo | grep -B 2 resolution
    screen #0:
      dimensions:    1920x1080 pixels (508x285 millimeters)
      resolution:    96x96 dots per inch
    Any ideas?

    Not sure what was adjusting my fonts, but I managed to resolve it by install plasma-desktop, open systemsettings5 and tick force fonts DPI to 96.
    Hardly ideal (but at least its something for now), as I now have additional KDE applications installed.

  • QT Font Sizes Big While Running HDMI

    I opened up qtconfig and changed the font size to 3 but I noticed on some applications certain fonts aren't changing and they still appear big.
    Look at this screen shot of Keepassx and you'll notice the big fonts;
    http://img215.imageshack.us/f/qtfonts.jpg/
    I also changed my .gtkrc-2.0 to 3 for fonts;
    gtk-font-name="Nimbus Sans L 3"
    And the GTK fonts all look great...
    How can I change these fonts in QT apps that still appear big?
    THANKS
    P.S. Got it fixed, the DPI was 305x305, now it's 96x96;
    [sar@arch ~]$ xdpyinfo | grep resolution
    resolution:    96x96 dots per inch
    xorg.conf;
    Section "Device"
    Option         "DPI" "96 x 96"
    WoOT
    Last edited by DasFox (2011-04-09 00:49:35)

    Hi there,
    "Normal Size" fonts are relative to the users' screen resolution. If you just want to see larger font size on your end and send/reply to mesaages in "Normal Size" I would just use a lower resolution on your Mac Display. Your email recipients will then recieve your messages in their normal size (as they sent you). Your just looking at a "magnified" version of the font. You can do this in System Preferences > Displays > Display... play around with a comfortable resolution.
    IMHO - you're better off turning screensaver completely off and just sleep display in 5 minutes or so...
    Take the current window you have open, move it to where you want it to open next time, close window, open and it SHOULD open where it was last located.
    Rick
    iMac G5 iSight 20" - 30G iPOD in Slimming Black - Mac OS X (10.4.8) - HP Pav 15" WS and Toshiba Sat 17" WS LP's - Canon 20D & A620 Kodak P880
    Message was edited by: JMEH

  • Firefox and fraction font sizes

    Today I was experimenting with GTK font sizes, and noticed that my new least-favorite app doesn't even handle that correctly.
    Check this out:
    Exhibit A: GTK font size 7
    Exhibit B: GTK font size 7.5
    Notice how the font in Thunar's menu changed and Firefox's didn't? Through testing 7.9 as a font size I came to the conclusion that it isn't even rounding to the nearest integer, just outright ignoring the decimals.
    Is there a solution for this?

    augustob wrote:Is there a solution for this?
    Yes, but you won't like it. Crack open your UserChrome.css file (in ~/.mozilla/firefox/<garbage>.default/chrome/) and do something like this:
    .chromeclass-menubar {
    font-size: 10pt !important;
    EDIT: To set the default font size for everything (not just the menu bar), use "*" instead of ".chromeclass-menubar".

  • Menu font sizes in fluxbox & gnome

    I'm using arch 0.5, with regular updates via pacman. In fluxbox every gtk 2.0 application [firebird, gaim etc] has a tiny menu font, but this same application, when opened in gnome, looks nice, that is its menu font has an appropriate size. How can I fix this? It's annoying because every font in gaim is rendered tiny and only through preferences it is possible to change the font size of the message windows, but not the size of the input font in the editor. So most of the time I can't see what I'm typing.  I've noticed the same font size change with slackware as well.
    anamesa

    OK, let's be more precise.  This method works for gaim and other gtk2 apps, but it didn't work for firebird.  Here the menus keep being tiny in fluxbox. I've searched for an option regarding fonts' size via "about:config" in addressbar of firebird, but either there is none [regarding menu] or I was blind for it.
    And then, the preferred font appears rather large in gnome, that is every time I switch over to gnome, I have to edit the ~/.gtkrc-2.0, decreasing the font size. Then, when switching over to fluxbox again, I have to increase the font size to it's previous value. But not everything can be perfect, so let it be so.

  • How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    How can I add more than one same spry menu (eg. collapsible menu)  with in different styles (font size, color, background, etc) on current page?

    Hi Nancy,
    This screenshot was only for imagination. A part of the code (not all) is below.  In the code there are some background images but they are not seem in live mode.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="css/my_site.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css"/>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <style>
    #CollapsiblePanel1 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-color: #003366;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel1 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel1 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/international.jpg);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel2 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel2 .CollapsiblePanelContent {
        background-color: blue;
    #CollapsiblePanel3 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel3 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel3 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel4 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel4 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelOpen .CollapsiblePanelTab {
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        font-size: 18px;
        line-height: 52px;
        color: #FFF;
    #CollapsiblePanel5 .CollapsiblePanelTabHover .CollapsiblePanelTab {
        background-color: #003366;
        color: #FFF;
        text-shadow: 1px 1px #000;
        font-weight: bold;
        background-image: url(images/TR_Col-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    #CollapsiblePanel5 .CollapsiblePanelClosed .CollapsiblePanelTab  {
        background-color: #C3CFDF;
        border-radius: 5px 5px 0px 0px;
        color: #999
        text-shadow: 1px 1px #000;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        background-image: url(images/TR_Gray2-WEB.png);
        background-repeat: no-repeat;
        line-height: 52px;
    </style>

  • How to change font size in iCal

    How do I change the font size in iCal?  When I go to print the monthly calendar, it is so small I can't read it.  But for the life of me I can't find where to change the size!

    earlnkids,
    The text size selection should be available in the first page of the iCal print options:

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How do I edit font size in acrobat 8?

    I am trying to make edits to the font and font size in acrobat 8. I have clicked on the text toolbar under advanced editing and selected my text. All of the forums I have read say to right click on that text and select "properties." When I right click, my acrobat does NOT give me the option for properties. The closest option is "text style" which does not give me any font or font size options - only bold, underline, etc. Can anyone assist me in where I ca find these options or why it is not giving me the "properties" option?

    Select the text and type ctrl-e

  • Edit font size standard report

    Hello community,
    I try to edit the font size of a standard report but I can't find any menu within APEX to edit this reports.
    I also tried to edit it within the SQL with '< f o n t s i z e=130%">' || ... || '</ f o n t >' but this did not work.
    Can anybody help me? Is there a menu which lists all the standard reports and where is the chance to edit this?
    Or is there any other chance?
    Thank you so much,
    Lisa :-)

    Hi Lisa,
    The font is defined in the style sheet (css file) that is referenced in the Page Template. You can override the style by adding your own style (with the same name as used by the columns in the report - you can check that using Firefox+Firebug or the Developer Tools in Chrome) after the APEX standard CSS. You can also put this CSS in your Report Template or in your Page (if it's only for one specific page).
    A good practice is not to include CSS or HTML in your SQL query. Because SQL is logic and HTML/CSS is presentation and these two shouldn't be mixed up.
    Roel

  • Edit bookmarks font size

    Safari 7 had the right size font for the edit bookmarks page, but Safari 8 uses several sizes larger font which throws the list of folder off the bottom of the page and moving individual links is tedious as you have to hold it to the top or bottom if the folder is off the display. I would like to reset it to the size used with Safari 7. Is there a setting for it or a way to resize the font when I open the page?

    Unfortunately, the font size cannot be modified in Safari but there are some alternatives.
    1.  Try a different display resolution. Open System Preferences > Displays > Display > Scaled
    2.  Try Zoom in System Preferences > Accessibility

Maybe you are looking for

  • How can I remove a computer from itunes store

    how can I remove a computer from itunes store

  • HP Utility won't list my device (Deskjet F380) in Mac OS 10.6.8

    Hi, I just downloaded the 10.6 drivers and software for my HP Deskjet F380 printer and I want to clean the print heads, but HP Utility doesn't show the device and won't respond when I click to add a device. The printer is connected fine and shows up

  • Failure to launch Lightoom 6 missing .exe file

    I've downloaded Lightroom 6 twice now because it does not launch from the shortcut.  I cannot find an exe file in the Program Files to launch directly.  Anyone else having this problem and/or have a solution?

  • Missed command field on easy access screen

    hai guys, i am just the starter of SAP. while browsing the screen , i dont know what i did and finally i lost my command field in easy access screen. please let me know how to 2 get it back.i think u understood what i mean.the field where we give com

  • Smartform in BSP appl

    Hi ,         How i can know which smartfrom is using in BSP application , is there any table or way for that. regards tarun