web-dev-qa-db-ja.com

gnome-terminatorでTerminusフォントを取得するにはどうすればよいですか?

TerminatorでTerminusフォントを取得しようとしていますが、すでに次のことを行っています。

  • 私が思う適切な場所にフォントを手に入れました:

    └─▪  tree -a .local/share/fonts/                                                                                                                                                          
    .local/share/fonts/                                                                                                                                                                       
    ├── Hack                                                                                                                                                                                  
    │   ├── Hack-BoldOblique.otf                                                                                                                                                              
    │   ├── Hack-Bold.otf                                                                                                                                                                     
    │   ├── Hack-RegularOblique.otf                                                                                                                                                           
    │   └── Hack-Regular.otf                                                                                                                                                                  
    ├── Inconsolata                                                                                                                                                                           
    │   └── Inconsolata.otf                                                                                                                                                                   
    ├── SourceSansPro                                                                                                                                                                         
    │   ├── SourceSansPro-BlackIt.otf                                                                                                                                                         
    │   ├── SourceSansPro-Black.otf                                                                                                                                                           
    │   ├── SourceSansPro-BoldIt.otf                                                                                                                                                          
    │   ├── SourceSansPro-Bold.otf                                                                                                                                                            
    │   ├── SourceSansPro-ExtraLightIt.otf                                                                                                                                                    
    │   ├── SourceSansPro-ExtraLight.otf                                                                                                                                                      
    │   ├── SourceSansPro-It.otf                                                                                                                                                              
    │   ├── SourceSansPro-LightIt.otf                                                                                                                                                         
    │   ├── SourceSansPro-Light.otf                                                                                                                                                           
    │   ├── SourceSansPro-Regular.otf                                                                                                                                                         
    │   ├── SourceSansPro-SemiboldIt.otf                                                                                                                                                      
    │   └── SourceSansPro-Semibold.otf                                                                                                                                                        
    └── Terminus                                                                                                                                                                              
        ├── terminus-12.pcf                                                                                                                                                                   
        ├── terminus-14-bold.pcf                                                                                                                                                              
        ├── terminus-14.pcf                                                                                                                                                                   
        ├── terminus-16-bold.pcf                                                                                                                                                              
        ├── terminus-16.pcf                                                                                                                                                                   
        ├── terminus-18-bold.pcf                                                                                                                                                              
        ├── terminus-18.pcf                                                                                                                                                                   
        ├── terminus-20-bold.pcf                                                                                                                                                              
        └── terminus-20.pcf                                                                                                                                                                   
    
    4 directories, 26 files                                                                                                                                                                   
    
  • 適切なfc-cacheの更新を行いました。ここを参照してください:

    └─▪ Sudo fc-cache -fv       
    /usr/share/fonts: caching, new cache contents: 1 fonts, 4 dirs
    /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
    /usr/share/fonts/X11/Type1: caching, new cache contents: 9 fonts, 0 dirs
    /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
    /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/X11/misc: caching, new cache contents: 59 fonts, 0 dirs
    /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
    /usr/share/fonts/cmap/Adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/Adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/Adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/Adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/Adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/truetype: caching, new cache contents: 1 fonts, 22 dirs
    /usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/dejavu: caching, new cache contents: 21 fonts, 0 dirs
    /usr/share/fonts/truetype/droid: caching, new cache contents: 18 fonts, 0 dirs
    /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
    /usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
    /usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
    /usr/share/fonts/truetype/nanum: caching, new cache contents: 6 fonts, 0 dirs
    /usr/share/fonts/truetype/noto: caching, new cache contents: 48 fonts, 0 dirs
    /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs
    /usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/takao-gothic: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/tlwg: caching, new cache contents: 54 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 17 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-punjabi-fonts: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/truetype/ubuntu-font-family: caching, new cache contents: 13 fonts, 0 dirs
    /usr/share/fonts/truetype/wqy: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
    /usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
    /usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs
    /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.local/share/fonts/Hack: caching, new cache contents: 4 fonts, 0 dirs
    /home/me/.local/share/fonts/Inconsolata: caching, new cache contents: 1 fonts, 0 dirs
    /home/me/.local/share/fonts/SourceSansPro: caching, new cache contents: 12 fonts, 0 dirs
    /home/me/.local/share/fonts/Terminus: caching, new cache contents: 9 fonts, 0 dirs
    /home/me/.fonts: skipping, no such directory
    /usr/share/fonts: caching, new cache contents: 1 fonts, 4 dirs
    /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.fonts: skipping, no such directory
    /var/cache/fontconfig: cleaning cache directory
    /home/me/.cache/fontconfig: cleaning cache directory
    /home/me/.fontconfig: not cleaning non-existent cache directory
    fc-cache: succeeded
    

    そしてここ:

    └─▪ Sudo fc-cache -fv .local/
    /home/me/.local: caching, new cache contents: 0 fonts, 1 dirs
    /home/me/.local/share: caching, new cache contents: 0 fonts, 13 dirs
    /home/me/.local/share/Trash: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/Trash/files: caching, new cache contents: 0 fonts, 7 dirs
    /home/me/.local/share/Trash/files/Borat...(2006) & Bruno (2009) 720p multi [mkvonly]: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/Artwork: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS: caching, new cache contents: 0 fonts, 3 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS/A. Trailers!: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS/C. Opening and Ending Songs: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS/Z. Videos to Watch After Completing the Series: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Udemy - How I Make a Website in Wordpress that sell for $100-$1000!: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/_PLEASE SUPPORT_: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/_PLEASE SUPPORT_.2: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/_PLEASE SUPPORT_.3: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/muz: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/info: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/applications: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.local/share/cinnamon/applets: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon/desklets: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon/extensions: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon/search_providers: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.local/share/fonts/Hack: caching, new cache contents: 4 fonts, 0 dirs
    /home/me/.local/share/fonts/Inconsolata: caching, new cache contents: 1 fonts, 0 dirs
    /home/me/.local/share/fonts/SourceSansPro: caching, new cache contents: 12 fonts, 0 dirs
    /home/me/.local/share/fonts/Terminus: caching, new cache contents: 9 fonts, 0 dirs
    /home/me/.local/share/gvfs-metadata: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/icc: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/keyrings: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/mime: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/mime/packages: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/mime/video: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/nemo: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/nemo/actions: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/nemo/scripts: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/tomboy: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/totem: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/vlc: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/webkitgtk: caching, new cache contents: 0 fonts, 1 dirs
    /home/me/.local/share/webkitgtk/localstorage: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local: caching, new cache contents: 0 fonts, 1 dirs
    /var/cache/fontconfig: cleaning cache directory
    /home/me/.cache/fontconfig: cleaning cache directory
    /home/me/.fontconfig: not cleaning non-existent cache directory
    fc-cache: succeeded
    
  • 私は現在Mintを実行しているので、このヒントに従うことを決めました- http://chrisacheson.net/blog/2009/03/21/how-to-get-profont-working-in-ubuntu/ そして私の〜/ .fonts.confを調整しました:

    <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">                                                                                                                             
    <fontconfig>                                                                                                                                                                              
     <selectfont>                                                                                                                                                                             
      <acceptfont>                                                                                                                                                                            
       <pattern>                                                                                                                                                                              
        <patelt name="family"><string>ProFont</string></patelt>                                                                                                                               
        <patelt name="family"><string>Terminus</string></patelt>                                                                                                                              
       </pattern>                                                                                                                                                                             
      </acceptfont>                                                                                                                                                                           
     </selectfont>                                                                                                                                                                            
    </fontconfig>                                                                                                                                                                             

それでも、ターミネーターの設定でフォントを選択できません。

ただし、フォントは用語集で機能します。

現在Mint 17.2 Cinnamon 64ビットを実行しています


編集:

@Peterの提案を受けて、私はdpkg -L xfonts-terminusおよび here's 結果

ですから、最初よりもはるかに多くの場所にインストールしているようです。フォントはターミナスと呼ばれるのではなく、省略形(/usr/share/fonts/X11/misc/ter-u12b_koi8-r.pcf.gz

4
AppAraat

なぜapt-get install xfonts-terminus

TerminusフォントはMint用にあらかじめパッケージ化されて利用可能です。 xfonts-terminus を参照してください

6
cas