Changes between Version 2 and Version 3 of DefaultFonts


Ignore:
Timestamp:
2009/02/15 09:15:10 (15 years ago)
Author:
daisuke
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DefaultFonts

    v2 v3  
    2323   * 現状の /usr/share/fonts/alias/TrueType をそのまま利用? 
    2424   * LX/DF フォント相当の alias/symlink も必要か? 
    25   
     25 
     26=== TrueType-*.spec === 
     27{{{ 
     28%define __fccache       umask 133;which fc-cache &> /dev/null && fc-cache -f 
     29%define __updmap        [ -x %{_bindir}/updmap-sys ] && %{_bindir}/env - %{_bindir}/updmap-sys --nostop 2> /dev/null 
     30%define __upddeffont    [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null 
     31 
     32%post 
     33%{_bindir}/mktcapdir %{fontdir} %{fontdir}/*.ttfconf 
     34( %{__upddeffont} ) ||: 
     35( %{__updmap} ) ||: 
     36( %__fccache %{fontdir} ) ||: 
     37 
     38%postun 
     39%{_bindir}/mktcapdir %{fontdir} %{fontdir}/*.ttfconf 
     40( %{__upddeffont} ) ||: 
     41( %{__updmap} ) ||: 
     42( %__fccache %{fontdir} ) ||: 
     43}}}