Diff for /wikisrc/tutorials/how_to_use_anti-aliased_fonts_in_linux_emulation.mdwn between versions 1.1 and 1.2

version 1.1, 2011/11/20 20:55:21 version 1.2, 2012/02/05 07:14:36
Line 1 Line 1
 **Contents**  **Contents**
   
 [[!toc levels=2]]  [[!toc levels=2]]
   
 #  Introduction  #  Introduction
   
 This problem is most common when someone installs a browser in linux emulation, for example www/opera which is only avalible through linux_compat.  This problem is most common when someone installs a browser in linux emulation, for example www/opera which is only avalible through linux_compat. 
   
 #  Fixing the problem  #  Fixing the problem
   
 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.  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. 
   
 ##  Installing Linux fontconfig  ##  Installing Linux fontconfig
   
 Look for which package you will need:  Look for which package you will need: 
          
     $ pkgfind fontconfig|grep ^emulators      $ pkgfind fontconfig|grep ^emulators
     emulators/suse100_32_fontconfig      emulators/suse100_32_fontconfig
     emulators/suse100_fontconfig: Linux compatibility package for fontconfig      emulators/suse100_fontconfig: Linux compatibility package for fontconfig
     emulators/suse91_32_fontconfig      emulators/suse91_32_fontconfig
     emulators/suse91_fontconfig: Linux compatibility package for fontconfig      emulators/suse91_fontconfig: Linux compatibility package for fontconfig
          
   
 You will need _emulators/suse100_fontconfig_ on i386 and _suse100_32_fontconfig_ on amd64 architecture. **FIXME**  You will need _emulators/suse100_fontconfig_ on i386 and _suse100_32_fontconfig_ on amd64 architecture. **FIXME**
   
 Install it from packages or from pkgsrc. You can find more on installing in the documention or in the wiki.  Install it from packages or from pkgsrc. You can find more on installing in the documention or in the wiki. 
   
 ##  Running fc-cache  ##  Running fc-cache
   
 The only thing you have to do after installing it is the following:  The only thing you have to do after installing it is the following: 
          
     /usr/pkg/emul/linux/usr/bin/fc-cache      /usr/pkg/emul/linux/usr/bin/fc-cache
          
   
 It will regenerate the font cache in the compat system.  It will regenerate the font cache in the compat system. 
   
 To ensure fonts have been cached in the compat system, you can use the following command :  To ensure fonts have been cached in the compat system, you can use the following command : 
          
     /usr/pkg/emul/linux/usr/bin/fc-list      /usr/pkg/emul/linux/usr/bin/fc-list
          
   
 You may use your fonts antialiased with linux_compat now  You may use your fonts antialiased with linux_compat now 
   
 ##  If it doesn't work  ##  If it doesn't work
   
 Still ugly fonts?  Still ugly fonts? 
   
 If you use modular xorg, you may also need to link /usr/pkg to /usr/X11R6 :  If you use modular xorg, you may also need to link /usr/pkg to /usr/X11R6 : 
          
      ln -s /usr/pkg /usr/X11R6       ln -s /usr/pkg /usr/X11R6
          

Removed from v.1.1  
changed lines
  Added in v.1.2


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