You are not logged in.

#1 2008-01-21 13:38:36

bionnaki
Member
Registered: 2006-09-05
Posts: 289

art-wiz fonts & bitmaps disabled [solved]

what is the reason for art-wiz fonts not being able to change size or style (i.e. bold)? I was able to use bold snap, but now I cannot.

Last edited by bionnaki (2008-01-25 09:46:37)

Offline

#2 2008-01-22 01:36:00

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: art-wiz fonts & bitmaps disabled [solved]

here is my .fonts.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
<fontconfig>

<!-- Use the Autohinter -->
    <match target="font">
        <edit name="autohint" mode="assign"><bool>true</bool></edit>
    </match>

<!-- Disable Autohinting for bold fonts -->
    <match target="font">
           <test name="weight" compare="more"><const>medium</const></test>
           <edit name="autohint" mode="assign"><bool>false</bool></edit>
    </match>

<!-- Enable sub-pixel rendering -->
<!-- Uncomment this if you have an LCD screen
        <match target="font">
                <test qual="all" name="rgba"><const>unknown</const></test>
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-->
 
<!-- Exclude/Include a range of fonts for Anti Aliasing -->
<!--
    <match target="font">
        <test qual="any" name="size" compare="more"><double>9</double></test>
        <test qual="any" name="size" compare="less"><double>14</double></test>
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
    </match>
-->

<!-- And/Or disable Anti Aliasing for a range on pixel-based size.
     Disabling this using both methods seems to fix Firefox. -->
<!--
    <match target="font">
        <test compare="less" name="pixelsize" qual="any"><double>20</double></test>
        <edit mode="assign" name="antialias"><bool>false</bool></edit>
    </match>
-->

<!-- Other config options that were added to previous versions of config files in the Gentoo Wiki HOWTO. Need clarification. -->
    <match target="font">
        <edit name="hinting" mode="assign"><bool>true</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintmedium</const></edit>
    </match>

</fontconfig>

and my xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/artwiz-fonts"
        FontPath     "/usr/share/fonts/local" 
EndSection

Section "Module"
    Load  "glx"
#    Load  "dri"
    Load  "extmod"
    Load  "xtrap"
    Load  "dbe"
    Load  "record"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync     30.0 - 130.0
        VertRefresh   50.0 - 100.0
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "NV43 [GeForce 6600 GT]"
    BusID       "PCI:1:0:0"
    Option      "AddARGBVisuals"  "True"
        Option      "AddARGBGLXVisuals"  "True"
    Option      "NoLogo"  "True"
        Option      "UseEdidDpi"   "False"
        Option      "DPI"   "85 x 85"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1024x768"
    EndSubSection
EndSection

Offline

#3 2008-01-25 05:10:04

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: art-wiz fonts & bitmaps disabled [solved]

so, apparently, artwiz fonts are bitmaps and bitmaps are disabled. according to the wiki:

Something or someone disabled all my non-scalable (bitmap) fonts, I want them back

By default, fontconfig 2.3.2-4 and higher will disable the use of bitmap fonts. This setting is managed in /etc/fonts/conf.d/10-no-bitmaps.conf, or in higher versions, /etc/fonts/conf.d/10-bitmaps.conf. To enable bitmap fonts and keep them enabled after upgrades of fontconfig, place a symlink from yes-bitmaps.conf to 10-bitmaps.conf, overwriting the symlink to no-bitmaps.conf.

ok. I dont have either of those files (10-no-bitmaps.conf or 10-bitmaps.conf or yes-bitmaps.conf).

this doesnt work:

ln -s /etc/fonts/conf.d/yes-bitmaps.conf /etc/fonts/conf.d/10-bitmap.conf

because I dont have those files in conf.d

Last edited by bionnaki (2008-01-25 08:54:10)

Offline

#4 2008-01-25 09:09:36

tami
Member
From: Norway, Oslo
Registered: 2007-11-10
Posts: 58
Website

Re: art-wiz fonts & bitmaps disabled [solved]

hm... I found something here:

http://bbs.archlinux.org/viewtopic.php? … 65#p271765

Take a look into your /etc/fonts/conf.avail/ directory - you can find there 70-yes-bitmaps.conf which you could symlink to 30-replace-bitmap-fonts.conf in  /etc/fonts/conf.d/.

I hope this will help.

Best wishes,
tami


"Possession means worries and luggage bags one has to drag along." Little My wink

Offline

#5 2008-01-25 09:46:21

bionnaki
Member
Registered: 2006-09-05
Posts: 289

Re: art-wiz fonts & bitmaps disabled [solved]

working now.
thanks.

Offline

Board footer

Powered by FluxBB