Annotation of wikisrc/tutorials/how_to_use_anti-aliased_fonts_in_linux_emulation.mdwn, revision 1.2

1.2     ! schmonz     1: **Contents**
        !             2: 
        !             3: [[!toc levels=2]]
        !             4: 
        !             5: #  Introduction
        !             6: 
        !             7: This problem is most common when someone installs a browser in linux emulation, for example www/opera which is only avalible through linux_compat. 
        !             8: 
        !             9: #  Fixing the problem
        !            10: 
        !            11: The problem is, that the emulated Linux system's font cache is empty, thus you can't use your fonts installed in NetBSD. Its quite easy to fix actualy. 
        !            12: 
        !            13: ##  Installing Linux fontconfig
        !            14: 
        !            15: Look for which package you will need: 
        !            16:     
        !            17:     $ pkgfind fontconfig|grep ^emulators
        !            18:     emulators/suse100_32_fontconfig
        !            19:     emulators/suse100_fontconfig: Linux compatibility package for fontconfig
        !            20:     emulators/suse91_32_fontconfig
        !            21:     emulators/suse91_fontconfig: Linux compatibility package for fontconfig
        !            22:     
        !            23: 
        !            24: You will need _emulators/suse100_fontconfig_ on i386 and _suse100_32_fontconfig_ on amd64 architecture. **FIXME**
        !            25: 
        !            26: Install it from packages or from pkgsrc. You can find more on installing in the documention or in the wiki. 
        !            27: 
        !            28: ##  Running fc-cache
        !            29: 
        !            30: The only thing you have to do after installing it is the following: 
        !            31:     
        !            32:     /usr/pkg/emul/linux/usr/bin/fc-cache
        !            33:     
        !            34: 
        !            35: It will regenerate the font cache in the compat system. 
        !            36: 
        !            37: To ensure fonts have been cached in the compat system, you can use the following command : 
        !            38:     
        !            39:     /usr/pkg/emul/linux/usr/bin/fc-list
        !            40:     
        !            41: 
        !            42: You may use your fonts antialiased with linux_compat now 
        !            43: 
        !            44: ##  If it doesn't work
        !            45: 
        !            46: Still ugly fonts? 
        !            47: 
        !            48: If you use modular xorg, you may also need to link /usr/pkg to /usr/X11R6 : 
        !            49:     
        !            50:      ln -s /usr/pkg /usr/X11R6
        !            51:     

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb