! fontspec error: “font-not-found”

  • Creatore
    Topic
  • #103062
    samiel
    Partecipante
      Up
      0
      Down
      ::


      O sto dimenticando tutto o Debian Testing mi porta sfortuna…
      Ho installato una serie di otf in /usr/local/texlive/texmf-local/fonts
      quindi ho modificato /usr/local/texlive/2015/texmf-var/fonts/conf/texlive-fontconfig.conf
      aggiungendo la riga
      `

      /usr/local/texlive/texmf-local/fonts`
      Ho copiato il file modificato in
      `/etc/fonts/conf.d/09-texlive.conf`
      Ho lanciato `fc-cache -fsv`
      e sembra che trovi i file dei font:
      `/usr/local/texlive/texmf-local/fonts/opentype/ArnoPro: caching, new cache contents: 32 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/BriosoPro: caching, new cache contents: 42 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/CaslonPro: caching, new cache contents: 6 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/ChaparralPro: caching, new cache contents: 32 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/Crimson: caching, new cache contents: 6 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/Fontin: caching, new cache contents: 4 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/GaramondPremierePro: caching, new cache contents: 34 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/JensonPro: caching, new cache contents: 32 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/MinionPro: caching, new cache contents: 64 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/MyriadPro: caching, new cache contents: 40 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/opentype/WarnockPro: caching, new cache contents: 32 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/source: caching, new cache contents: 0 fonts, 1 dirs
      /usr/local/texlive/texmf-local/fonts/source/local: caching, new cache contents: 0 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/tfm: caching, new cache contents: 0 fonts, 1 dirs
      /usr/local/texlive/texmf-local/fonts/tfm/local: caching, new cache contents: 0 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
      /usr/local/texlive/texmf-local/fonts/type1/local: caching, new cache contents: 0 fonts, 0 dirs
      /usr/local/texlive/texmf-local/fonts/vf: caching, new cache contents: 0 fonts, 1 dirs
      /usr/local/texlive/texmf-local/fonts/vf/local: caching, new cache contents: 0 fonts, 0 dirs
      /usr/share/fonts: caching, new cache contents: 0 fonts, 5 dirs
      /usr/X11R6/lib/X11/fonts: skipping, no such directory
      /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
      /.local/share/fonts: skipping, no such directory
      /usr/local/texlive/2015/texmf-dist/fonts/opentype: caching, new cache contents: 0 fonts, 7 dirs
      /usr/local/texlive/2015/texmf-dist/fonts/truetype: caching, new cache contents: 0 fonts, 10 dirs
      /usr/local/texlive/2015/texmf-dist/fonts/type1: caching, new cache contents: 0 fonts, 26 dirs
      /usr/local/texlive/texmf-local/fonts: caching, new cache contents: 0 fonts, 5 dirs
      /var/cache/fontconfig: cleaning cache directory
      /.cache/fontconfig: not cleaning non-existent cache directory
      fc-cache: succeeded`
      Ma se cerco di compilare con xelatex:
      `(/usr/local/texlive/2015/texmf-dist/tex/latex/unicode-math/unicode-math-table.t
      ex)))kpathsea:make_tex: Invalid fontname `Garamond Premier Pro', contains ' '

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !
      ! fontspec error: “font-not-found”
      !
      ! The font “Garamond Premier Pro” cannot be found.
      !
      ! See the fontspec documentation for further information.
      !
      ! For immediate help type H .
      !………………………………………..

      l.6 …TeX,Numbers=OldStyle]{Garamond Premier Pro}

      ?
      `
      La procedura l’ho fatta varie volte, anche in questo caso
      non riesco a individuare che cosa posso aver dimenticato…

      grazie
      m

    Visualizzazione 1 filone di risposte
    • Autore
      Risposte
      • #103063
        samiel
        Partecipante
          Up
          0
          Down
          ::


          Inoltre, ad esempio:
          `samiel@debian:~$ fc-list : family file | grep -i fontin
          /usr/local/texlive/texmf-local/fonts/opentype/Fontin/Fontin-SmallCaps.otf: Fontin SmallCaps,Fontin
          /usr/local/texlive/texmf-local/fonts/opentype/Fontin/Fontin-Bold.otf: Fontin
          /usr/local/texlive/texmf-local/fonts/opentype/Fontin/Fontin-Italic.otf: Fontin
          /usr/local/texlive/texmf-local/fonts/opentype/Fontin/Fontin-Regular.otf: Fontin`

        • #103064
          Up
          0
          Down
          ::


          Ciao! Hai risolto?
          perché anch’io, con Debian Jessie (ma TeXlive installata da CTAN), riscontro lo stesso errore pur avendo installato correttamente i font che voglio usare…
          se ci sono consigli o letture (oltre il manuale di fontspec e le guide a xelatex) li accetto molto volentieri!
          Grazie mille

      Visualizzazione 1 filone di risposte
      • Devi essere connesso per rispondere a questo topic.

      Go to top