Page tree
Skip to end of metadata
Go to start of metadata

Overview

AIE can generate thumbnail and preview images of many types of documents during ingestion.

  • A thumbnail is a page image that is about 10-30% of full-page size.
  • A preview is a page image that is about 75% of full-page size.

These images can then appear with search results or in other contexts as determined by the developer.  For instance, SAIL is configured to display thumbnail images and to provide a link to a preview image.

Configuring the Project

These instructions show how to configure thumbnails and previews on a per-project basis. To do this, copy the code examples from this page and paste them into the indicated project files. Then modify the configuration parameters as needed.

Required Modules

To use thumbnail and preview images, you must include the advancedtextextraction module in your project when you run createproject to create the project directories. The createproject tool adds this module to all projects by default.

View incoming links.

 

Enabling Thumbnail and Preview Images

Thumbnail and preview images are disabled by default. You can enable either or both types of images as shown in the following sections.

Generate a Project

Create a new project with the createproject tool. Note that thumbnail and preview images require the Advanced Text Extraction Module. This module is is included in most AIE projects by default, so you don't have to explicitly add it to the module list for the project.

Modify Configuration Files

To enable thumbnails and previews, make the following changes in the project's configuration files.

 

advteConverter.xml

We need to extend the capabilities of the advteConverter component.  Edit <project-dir>\conf\components\advteConverter.xml and add the imageGeneratorConfig property as shown below:

<project-dir>\conf\components\advteConverter.xml
<component xmlns="http://www.attivio.com/configuration/type/componentType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="advteConverter" class="com.attivio.advancedtextextraction.transformer.ingest.textextraction.AdvancedTextExtractionConvertDocument" xsi:schemaLocation="http://www.attivio.com/configuration/type/componentType http://www.attivio.com/configuration/type/componentType.xsd ">
  <!--Generated configuration-->
  <properties>
    <property name="optionFilePath" value="advancedtextextraction/advancedtextextraction-search-export.cfg"/>
    <container-property name="docTypeConfig" reference="advancedDocTypeConfig"/>
    <container-property name="childDocumentPostProcessor" reference="defaultAdvTeChildPostProcessor"/>
    <property name="documentTimeout" value="${advancedtextextraction.documentTimeout}"/>

    <container-property name="imageGenerationConfig" reference="defaultImageGenerationConfig" />
 
  </properties>
</component>

This component activates image generation for this project by overriding the component definition from <install-dir>\conf\advancedtextextraction\advancedtextextraction.xml, where the imageGenerationConfig line is commented out by default. 

Every file format that goes through the advteConvert transformer is a candidate for image generation but not all file types have high fidelity images generated. For example, MS-Office documents and PDFs tend to yield good thumbnail images. For more details, see Advanced Text Extraction Module - Supported Document Types.

 

defaultimagegenerationconfig.xml

The defaultImageGenerationConfig is an object that holds settings that guide image generation.  It is located in <project-dir>\conf\beans\defaultimagegenerationconfig.xmlIt requires no modifications in order to enable image generation, but there might be settings that you would eventually want to adjust to suit your project.

The configuration parameters from defaultImageGenerationConfig are detailed below:

Parameter

Description

id

The name of the image profile to use, either "thumbnail" or "preview".

formatId

The image format. Currently PNG ("fi_png") is the only option.

width

Width in pixels. Use 0 to preserve the existing width unless a height value is provided.  If height is provided, the original aspect ratio is preserved.

height

Height in pixels. Use 0 to preserve the existing width unless a width value is provided.  If width is provided, the original aspect ratio is preserved.

quality

Reserved for future use.  Set it to 100.

startPageNumber

The first page (inclusive) of a range. Images generate for all pages in this range.  Typically set to "1".

endPageNumber

The final page (inclusive) of a range. Images generate for all pages in this range.  Typically set to "1".

imageGenerationContentPointerDeleterReferenceCollectorConfig.xml

This configuration object tells AIE where to look for the content pointers to the thumbnail and preview images of an index record. It is located in  <project-dir>\conf\bean\imageGenerationContentPointerDeleterReferenceCollectorConfig.xml

<project-dir>\conf\bean\imageGenerationContentPointerDeleterReferenceCollectorConfig.xml
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans" xmlns:util="http://www.springframework.org/schema/util" xmlns:sec="http://www.springframework.org/schema/security" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
  <bean name="imageGenerationContentPointerDeleterReferenceCollectorConfig" class="com.attivio.app.referencecollectors.ContentPointerDeleterReferenceCollector$ContentPointerDeleterReferenceCollectorConfig">
    <property name="runOnOptimizeOnly" value="false"/>
    <property name="fieldNameToContentStoreNameMap">
      <map key-type="">
        <entry key="img.cp.thumbnail">
          <value>aie.img.thumbnail</value>
        </entry>
        <entry key="img.cp.preview">
          <value>aie.img.preview</value>
        </entry>
      </map>
    </property>
  </bean>
</beans>

 

Create a File Connector

To create thumbnails and previews, ingest documents using a File Connector. Run AIE and use the Admin UI to create a new File Connector. Name and configure the connector so that it can locate the target files. This example is configured to ingest PowerPoint .pptx files:

thumbnailFileConnector

It is critical that the connector sends the documents to the fileIngest workflow. From there the documents go to the advteConverter component, which generates the images and inserts them into the configured content stores.

Viewing the Images

The easy way to view thumbnail and preview images is to search for an appropriate document using SAIL.  If you are using the default thumbnail and preview poiner ID fields (as shown in the examples above), SAIL will display the thumbnail and preview images.

 

Troubleshooting

Display Environment Variable on Linux

If images are not generating in Linux, try setting the DISPLAY environment variable to a valid X Server prior to starting AIE.  For example:

export DISPLAY=localhost:0.0

Fonts on Linux (CentOS)

On Linux, if images are not generating, or are generating incorrectly (for example, box-like characters where you expect to see letters), check to make sure that the GDFONTPATH environment variable is set properly.

This entails two steps:

  1. Install all available fonts.
  2. Set the GDFONTPATH environment variable in the topology to include necessary font directories.

The following example shows how to set up fonts for Thumbnail and Preview images on a popular Linux distribution, CentOS 6.

Step 1: Collect Available Font Packages and Install on CentOS 6

To resolve the issue of missing fonts, locate all uninstalled font packages and then install them together. This prepares AIE for any kind of document.

fonts=`yum list available |egrep 'font.*noarch'|awk '{printf("%s ",$1)}'|sed 's/\.noarch//g'`
yum install $fonts

For example the following line would install the majority of available font packages
yum install  abyssinica-fonts artwiz-aleczapka-fonts baekmuk-ttf-batang-fonts baekmuk-ttf-dotum-fonts baekmuk-ttf-fonts-common baekmuk-ttf-fonts-ghostscript baekmuk-ttf-gulim-fonts baekmuk-ttf-hline-fonts bitmap-console-fonts bitmap-fangsongti-fonts bitmap-fixed-fonts bitmap-fonts-compat bitmap-lucida-typewriter-fonts bitmap-miscfixed-fonts bpg-algeti-fonts bpg-chveulebrivi-fonts bpg-courier-fonts bpg-courier-s-fonts bpg-elite-fonts bpg-fonts-common bpg-glaho-fonts bpg-ingiri-fonts bpg-nino-medium-cond-fonts bpg-nino-medium-fonts bpg-sans-fonts bpg-sans-medium-fonts bpg-sans-modern-fonts bpg-sans-regular-fonts bpg-serif-fonts bpg-serif-modern-fonts cjkuni-fonts-common cjkuni-fonts-ghostscript cjkuni-ukai-fonts cjkuni-uming-fonts ctan-cm-lgc-fonts-common ctan-cm-lgc-roman-fonts ctan-cm-lgc-sans-fonts ctan-cm-lgc-typewriter-fonts ctan-kerkis-calligraphic-fonts ctan-kerkis-fonts-common ctan-kerkis-sans-fonts ctan-kerkis-serif-fonts culmus-aharoni-clm-fonts culmus-caladings-clm-fonts culmus-david-clm-fonts culmus-drugulin-clm-fonts culmus-ellinia-clm-fonts culmus-fonts-common culmus-fonts-compat culmus-frank-ruehl-clm-fonts culmus-miriam-clm-fonts culmus-miriam-mono-clm-fonts culmus-nachlieli-clm-fonts culmus-yehuda-clm-fonts dejavu-lgc-sans-fonts dejavu-lgc-sans-mono-fonts dejavu-lgc-serif-fonts dejavu-sans-mono-fonts dejavu-serif-fonts fontpackages-devel fontpackages-tools gentium-fonts inconsolata-fonts inconsolata-fonts-devel ipa-gothic-fonts ipa-mincho-fonts ipa-pgothic-fonts ipa-pmincho-fonts jomolhari-fonts kacst-art-fonts kacst-book-fonts kacst-decorative-fonts kacst-digital-fonts kacst-farsi-fonts kacst-fonts-common kacst-letter-fonts kacst-naskh-fonts kacst-office-fonts kacst-one-fonts kacst-pen-fonts kacst-poster-fonts kacst-qurn-fonts kacst-screen-fonts kacst-title-fonts kacst-titlel-fonts khmeros-base-fonts khmeros-battambang-fonts khmeros-bokor-fonts khmeros-fonts-common khmeros-handwritten-fonts khmeros-metal-chrieng-fonts khmeros-muol-fonts khmeros-siemreap-fonts kurdit-unikurd-web-fonts liberation-fonts-common liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts libertine-fonts libfonts-javadoc libreoffice-opensymbol-fonts lklug-fonts lohit-assamese-fonts lohit-bengali-fonts lohit-devanagari-fonts lohit-gujarati-fonts lohit-kannada-fonts lohit-malayalam-fonts lohit-oriya-fonts lohit-punjabi-fonts lohit-tamil-fonts lohit-telugu-fonts madan-fonts mgopen-fonts mplayer-fonts nafees-web-naskh-fonts paktype-fonts-common paktype-naqsh-fonts paktype-tehreer-fonts pothana2000-fonts saab-fonts samyak-devanagari-fonts samyak-fonts-common samyak-gujarati-fonts samyak-malayalam-fonts samyak-oriya-fonts samyak-tamil-fonts sil-padauk-fonts smc-anjalioldlipi-fonts smc-dyuthi-fonts smc-fonts-common smc-kalyani-fonts smc-meera-fonts smc-rachana-fonts smc-raghumalayalam-fonts smc-suruma-fonts stix-fonts stix-integrals-fonts stix-pua-fonts stix-sizes-fonts stix-variants-fonts symbola-fonts terminus-fonts terminus-fonts-console texlive-texmf-errata-fonts texlive-texmf-fonts thai-scalable-fonts-common thai-scalable-fonts-compat thai-scalable-garuda-fonts thai-scalable-kinnari-fonts thai-scalable-loma-fonts thai-scalable-norasi-fonts thai-scalable-purisa-fonts thai-scalable-sawasdee-fonts thai-scalable-tlwgmono-fonts thai-scalable-tlwgtypewriter-fonts thai-scalable-tlwgtypist-fonts thai-scalable-tlwgtypo-fonts thai-scalable-umpush-fonts thai-scalable-waree-fonts tibetan-machine-uni-fonts un-core-batang-fonts un-core-dinaru-fonts un-core-dotum-fonts un-core-fonts-common un-core-graphic-fonts un-core-gungseo-fonts un-core-pilgi-fonts vemana2000-fonts vlgothic-fonts vlgothic-fonts-common vlgothic-p-fonts wqy-zenhei-fonts wqy-zenhei-fonts-common xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-14-100dpi xorg-x11-fonts-ISO8859-14-75dpi xorg-x11-fonts-ISO8859-15-100dpi xorg-x11-fonts-ISO8859-15-75dpi xorg-x11-fonts-ISO8859-2-100dpi xorg-x11-fonts-ISO8859-2-75dpi xorg-x11-fonts-ISO8859-9-100dpi xorg-x11-fonts-ISO8859-9-75dpi xorg-x11-fonts-Type1 xorg-x11-fonts-cyrillic xorg-x11-fonts-ethiopic xorg-x11-fonts-misc

Step 2: Set the GDFONTPATH Environment variable

After installing all available font packages, certain directories populate under the two core areas (/usr/share/X11 and /usr/share/fonts):

/usr/share/X11/fonts/100dpi
/usr/share/X11/fonts/75dpi
/usr/share/X11/fonts/cyrillic
/usr/share/X11/fonts/encodings
/usr/share/X11/fonts/encodings/large
/usr/share/X11/fonts/misc
/usr/share/X11/fonts/OTF
/usr/share/X11/fonts/TTF
/usr/share/X11/fonts/Type1
/usr/share/X11/fonts/util
/usr/share/fonts/abyssinica
/usr/share/fonts/artwiz-aleczapka/artwiz-aleczapka
/usr/share/fonts/baekmuk-ttf
/usr/share/fonts/bitmap
/usr/share/fonts/bpg
/usr/share/fonts/ctan-cm-lgc
/usr/share/fonts/ctan-kerkis
/usr/share/fonts/culmus
/usr/share/fonts/default/ghostscript
/usr/share/fonts/default/Type1
/usr/share/fonts/dejavu
/usr/share/fonts/gentium
/usr/share/fonts/inconsolata
/usr/share/fonts/ipa-gothic
/usr/share/fonts/ipa-mincho
/usr/share/fonts/ipa-pgothic
/usr/share/fonts/ipa-pmincho
/usr/share/fonts/jomolhari
/usr/share/fonts/kacst
/usr/share/fonts/khmeros
/usr/share/fonts/kurdit-unikurd-web
/usr/share/fonts/liberation
/usr/share/fonts/libertine
/usr/share/fonts/lklug
/usr/share/fonts/lohit-assamese
/usr/share/fonts/lohit-bengali
/usr/share/fonts/lohit-devanagari
/usr/share/fonts/lohit-gujarati
/usr/share/fonts/lohit-kannada
/usr/share/fonts/lohit-malayalam
/usr/share/fonts/lohit-oriya
/usr/share/fonts/lohit-punjabi
/usr/share/fonts/lohit-tamil
/usr/share/fonts/lohit-telugu
/usr/share/fonts/madan
/usr/share/fonts/mgopen
/usr/share/fonts/nafees-web-naskh
/usr/share/fonts/opensymbol
/usr/share/fonts/paktype
/usr/share/fonts/pothana2000
/usr/share/fonts/saab
/usr/share/fonts/samyak/samyak-devanagari
/usr/share/fonts/samyak/samyak-gujarati
/usr/share/fonts/samyak/samyak-malayalam
/usr/share/fonts/samyak/samyak-oriya
/usr/share/fonts/samyak/samyak-tamil
/usr/share/fonts/sil-padauk
/usr/share/fonts/smc
/usr/share/fonts/stix
/usr/share/fonts/symbola
/usr/share/fonts/terminus
/usr/share/fonts/thai-scalable
/usr/share/fonts/tibetan-machine-uni
/usr/share/fonts/un-core
/usr/share/fonts/vemana2000
/usr/share/fonts/vlgothic

From this list, construct a colon-delimited string to which you set the GDFONTPATH variable:

export GDFONTPATH=/usr/share/X11/fonts/100dpi:/usr/share/X11/fonts/75dpi:/usr/share/X11/fonts/cyrillic:/usr/share/X11/fonts/encodings:/usr/share/X11/fonts/encodings/large:/usr/share/X11/fonts/misc:/usr/share/X11/fonts/OTF:/usr/share/X11/fonts/TTF:/usr/share/X11/fonts/Type1:/usr/share/X11/fonts/util:/usr/share/fonts/abyssinica:/usr/share/fonts/artwiz-aleczapka/artwiz-aleczapka:/usr/share/fonts/baekmuk-ttf:/usr/share/fonts/bitmap:/usr/share/fonts/bpg:/usr/share/fonts/ctan-cm-lgc:/usr/share/fonts/ctan-kerkis:/usr/share/fonts/culmus:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/dejavu:/usr/share/fonts/gentium:/usr/share/fonts/inconsolata:/usr/share/fonts/ipa-gothic:/usr/share/fonts/ipa-mincho:/usr/share/fonts/ipa-pgothic:/usr/share/fonts/ipa-pmincho:/usr/share/fonts/jomolhari:/usr/share/fonts/kacst:/usr/share/fonts/khmeros:/usr/share/fonts/kurdit-unikurd-web:/usr/share/fonts/liberation:/usr/share/fonts/libertine:/usr/share/fonts/lklug:/usr/share/fonts/lohit-assamese:/usr/share/fonts/lohit-bengali:/usr/share/fonts/lohit-devanagari:/usr/share/fonts/lohit-gujarati:/usr/share/fonts/lohit-kannada:/usr/share/fonts/lohit-malayalam:/usr/share/fonts/lohit-oriya:/usr/share/fonts/lohit-punjabi:/usr/share/fonts/lohit-tamil:/usr/share/fonts/lohit-telugu:/usr/share/fonts/madan:/usr/share/fonts/mgopen:/usr/share/fonts/nafees-web-naskh:/usr/share/fonts/opensymbol:/usr/share/fonts/paktype:/usr/share/fonts/pothana2000:/usr/share/fonts/saab:/usr/share/fonts/samyak/samyak-devanagari:/usr/share/fonts/samyak/samyak-gujarati:/usr/share/fonts/samyak/samyak-malayalam:/usr/share/fonts/samyak/samyak-oriya:/usr/share/fonts/samyak/samyak-tamil:/usr/share/fonts/sil-padauk:/usr/share/fonts/smc:/usr/share/fonts/stix:/usr/share/fonts/symbola:/usr/share/fonts/terminus:/usr/share/fonts/thai-scalable:/usr/share/fonts/tibetan-machine-uni:/usr/share/fonts/un-core:/usr/share/fonts/vemana2000:/usr/share/fonts/vlgothic

On some systems, such a long value for the GDFONTPATH variable can cause problems.   That's why it is recommended to make a single directory containing symbolic links to the font files in the individual directories in the GDFONTPATH variable and then set the GDFONTPATH to that single directory.  Here is an example of a bash script that does just that:

export GDFONTPATH=/usr/share/X11/fonts/TTF:/usr/share/X11/fonts/misc:/usr/share/X11/fonts/100dpi:/usr/share/X11/fonts/75dpi:/usr/share/fonts/bitstream-vera:/usr/share/fonts/bitmap-fonts:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/X11/fonts/100dpi:/usr/share/X11/fonts/75dpi:/usr/share/X11/fonts/cyrillic:/usr/share/X11/fonts/encodings:/usr/share/X11/fonts/encodings/large:/usr/share/X11/fonts/misc:/usr/share/X11/fonts/OTF:/usr/share/X11/fonts/TTF:/usr/share/X11/fonts/Type1:/usr/share/X11/fonts/util:/usr/share/fonts/abyssinica:/usr/share/fonts/artwiz-aleczapka/artwiz-aleczapka:/usr/share/fonts/baekmuk-ttf:/usr/share/fonts/bitmap:/usr/share/fonts/bpg:/usr/share/fonts/ctan-cm-lgc:/usr/share/fonts/ctan-kerkis:/usr/share/fonts/culmus:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/dejavu:/usr/share/fonts/gentium:/usr/share/fonts/inconsolata:/usr/share/fonts/ipa-gothic:/usr/share/fonts/ipa-mincho:/usr/share/fonts/ipa-pgothic:/usr/share/fonts/ipa-pmincho:/usr/share/fonts/jomolhari:/usr/share/fonts/kacst:/usr/share/fonts/khmeros:/usr/share/fonts/kurdit-unikurd-web:/usr/share/fonts/liberation:/usr/share/fonts/libertine:/usr/share/fonts/lklug:/usr/share/fonts/lohit-assamese:/usr/share/fonts/lohit-bengali:/usr/share/fonts/lohit-devanagari:/usr/share/fonts/lohit-gujarati:/usr/share/fonts/lohit-kannada:/usr/share/fonts/lohit-malayalam:/usr/share/fonts/lohit-oriya:/usr/share/fonts/lohit-punjabi:/usr/share/fonts/lohit-tamil:/usr/share/fonts/lohit-telugu:/usr/share/fonts/madan:/usr/share/fonts/mgopen:/usr/share/fonts/nafees-web-naskh:/usr/share/fonts/opensymbol:/usr/share/fonts/paktype:/usr/share/fonts/pothana2000:/usr/share/fonts/saab:/usr/share/fonts/samyak/samyak-devanagari:/usr/share/fonts/samyak/samyak-gujarati:/usr/share/fonts/samyak/samyak-malayalam:/usr/share/fonts/samyak/samyak-oriya:/usr/share/fonts/samyak/samyak-tamil:/usr/share/fonts/sil-padauk:/usr/share/fonts/smc:/usr/share/fonts/stix:/usr/share/fonts/symbola:/usr/share/fonts/terminus:/usr/share/fonts/thai-scalable:/usr/share/fonts/tibetan-machine-uni:/usr/share/fonts/un-core:/usr/share/fonts/vemana2000:/usr/share/fonts/vlgothic
 
consolidated_fontdir=/opt/somedir/attivio-fonts
 
# iterate over elements delimited by colon
for fontdir in ${GDFONTPATH//:/ }; do
 
    # iterate over files in directory
    for fontfile in $(find $fontdir -type f); do
        justfilename=${fontfile##*/}
        ln -s $fontfile $consolidated_fontdir/$justfilename
    done
done

 

If you had named this script "setup_gdfontpath.sh", you would simply run this script with "source setup_gdfontpath.sh" at the shell prompt.

Add the GDFONTPATH variable to the project node's topology. For example:

<project-dir>/conf/environments/default/topology-nodes.xml
...
  <nodes>
    <node name="local" host="localhost" baseport="17000">
      <environmentVariable name="GDFONTPATH" value="<path-to-consolidated-fonts-directory>"/>
    </node>
  </nodes>
...

where <path-to-consolidated-fonts-directory> is the directory where you created the symbolic links to the fonts (ex: /opt/somedir/attivio-fonts).
After making this topology change you will need to re-deploy the project.

Fonts on Linux (Debian)

Font installation in Debian is generally similar to that for CentOS, but font names and font paths may differ from the example above. (see "Font Paths" section below)

Some Debian fonts are named differently or have different dependencies than in CentOS. The apt-get string is shown below. If it appears out-of-date, check https://packages.debian.org/stable/fonts/.

Debian Font List
sudo apt-get install aglfn cm-super cm-super-minimal cm-super-x11 culmus culmus-fancy dvi2ps-fontdata-a2n dvi2ps-fontdata-ja dvi2ps-fontdata-n2a dvi2ps-fontdata-ptexfake dvi2ps-fontdata-rsp dvi2ps-fontdata-tbank dvi2ps-fontdata-three emacs-intl-fonts fontconfig fontconfig-config fontforge-extras fonts-aoyagi-kouzan-t fonts-aoyagi-soseki fonts-arabeyes fonts-arphic-bkai00mp fonts-arphic-bsmi00lp fonts-arphic-gbsn00lp fonts-arphic-gkai00mp fonts-arphic-ukai fonts-arphic-uming fonts-baekmuk fonts-beng fonts-beng-extra fonts-beteckna fonts-bpg-georgian fonts-breip fonts-cabin fonts-cabinsketch fonts-cantarell fonts-century-catalogue fonts-circos-symbols fonts-cmu fonts-comfortaa fonts-cwtex-fs fonts-cwtex-heib fonts-cwtex-kai fonts-cwtex-ming fonts-cwtex-yen fonts-dejima-mincho fonts-deva fonts-deva-extra fonts-dkg-handwriting fonts-dosis fonts-droid fonts-dustin fonts-ecolier-court fonts-ecolier-lignes-court fonts-eeyek fonts-evertype-conakry fonts-f500 fonts-fanwood fonts-farsiweb fonts-freefarsi fonts-freefont-otf fonts-freefont-ttf fonts-gfs-artemisia fonts-gfs-baskerville fonts-gfs-bodoni-classic fonts-gfs-complutum fonts-gfs-didot fonts-gfs-didot-classic fonts-gfs-gazis fonts-gfs-neohellenic fonts-gfs-olga fonts-gfs-porson fonts-gfs-solomos fonts-gfs-theokritos fonts-gubbi fonts-gujr fonts-gujr-extra fonts-guru fonts-guru-extra fonts-hanazono fonts-horai-umefont fonts-hosny-amiri fonts-hosny-thabit fonts-inconsolata fonts-ipaexfont fonts-ipaexfont-gothic fonts-ipaexfont-mincho fonts-ipafont fonts-ipafont-gothic fonts-ipafont-mincho fonts-ipamj-mincho fonts-johnsmith-induni fonts-junicode fonts-jura fonts-kacst fonts-kacst-one fonts-kanjistrokeorders fonts-kaushanscript fonts-khmeros fonts-kiloji fonts-knda fonts-komatuna fonts-konatu fonts-kouzan-mouhitsu fonts-lao fonts-lato fonts-levien-museum fonts-levien-typoscript fonts-lg-aboriginal fonts-liberation fonts-lindenhill fonts-linex fonts-linuxlibertine fonts-lklug-sinhala fonts-lobster fonts-lobstertwo fonts-lohit-beng-assamese fonts-lohit-beng-bengali fonts-lohit-deva fonts-lohit-gujr fonts-lohit-guru fonts-lohit-knda fonts-lohit-mlym fonts-lohit-orya fonts-lohit-taml fonts-lohit-telu fonts-lyx fonts-maitreya fonts-manchufont fonts-mgopen fonts-migmix fonts-misaki fonts-mlym fonts-mmcedar fonts-mona fonts-monapo fonts-motoya-l-cedar fonts-motoya-l-maruberi fonts-mph-2b-damase fonts-mplus fonts-nafees fonts-nakula fonts-nanum fonts-nanum-coding fonts-nanum-eco fonts-nanum-extra fonts-navilu fonts-ocr-a fonts-oflb-asana-math fonts-oflb-euterpe fonts-okolaks fonts-oldstandard fonts-opendin fonts-opensymbol fonts-orya fonts-orya-extra fonts-pagul fonts-paktype fonts-pecita fonts-play fonts-prociono fonts-quattrocento fonts-rufscript fonts-sahadeva fonts-samyak fonts-samyak-deva fonts-samyak-gujr fonts-samyak-mlym fonts-samyak-orya fonts-samyak-taml fonts-sawarabi-gothic fonts-sawarabi-mincho fonts-senamirmir-washra fonts-sil-abyssinica fonts-sil-andika fonts-sil-charis fonts-sil-dai-banna fonts-sil-doulos fonts-sil-ezra fonts-sil-galatia fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-nuosusil fonts-sil-padauk fonts-sil-scheherazade fonts-sil-sophia-nubian fonts-sil-zaghawa-beria fonts-sipa-arundina fonts-smc fonts-stix fonts-takao fonts-takao-gothic fonts-takao-mincho fonts-taml fonts-taml-tamu fonts-taml-tscu fonts-telu fonts-telu-extra fonts-thai-tlwg fonts-tibetan-machine fonts-tlwg-garuda fonts-tlwg-kinnari fonts-tlwg-loma fonts-tlwg-mono fonts-tlwg-norasi fonts-tlwg-purisa fonts-tlwg-sawasdee fonts-tlwg-typewriter fonts-tlwg-typist fonts-tlwg-typo fonts-tlwg-umpush fonts-tlwg-waree fonts-tomsontalks fonts-tuffy fonts-ubuntu-title fonts-ukij-uyghur fonts-umeplus fonts-unfonts-core fonts-unfonts-extra fonts-unikurdweb fonts-uralic fonts-vlgothic fonts-vollkorn fonts-yanone-kaffeesatz fonts-yozvox-yozfont fonts-yozvox-yozfont-antique fonts-yozvox-yozfont-cute fonts-yozvox-yozfont-edu fonts-yozvox-yozfont-new-kana fonts-yozvox-yozfont-standard-kana fonttools fonttools-eexecop fonty-rg fontypython googlefontdirectory-tools gsfonts gsfonts-x11 jsmath-fonts latex-cjk-chinese-arphic-bkai00mp latex-cjk-japanese-wadalab latex-fonts-sipa-arundina latex-fonts-thai-tlwg lmodern mensis otf-stix otf-stix otf-symbols-circos otf-symbols-circos sortsmill-tools t1-cyrillic t1-oldslavic t1-teams tex-gyre texlive-fonts-extra texlive-fonts-recommended texmacs-extra-fonts toilet-fonts ttf-adf-accanthis ttf-adf-baskervald ttf-adf-berenis ttf-adf-gillius ttf-adf-ikarius ttf-adf-irianis ttf-adf-libris ttf-adf-mekanus ttf-adf-oldania ttf-adf-romande ttf-adf-switzera ttf-adf-tribun ttf-adf-universalis ttf-adf-verana ttf-aenigma ttf-alee ttf-ancient-fonts ttf-anonymous-pro ttf-atarismall ttf-bitstream-vera ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-denemo ttf-engadget ttf-essays1743 ttf-femkeklaver ttf-fifthhorseman-dkg-handwriting ttf-fifthhorseman-dkg-handwriting ttf-freefarsi ttf-freefarsi ttf-georgewilliams ttf-georgewilliams ttf-goudybookletter ttf-isabella ttf-isabella ttf-jsmath ttf-jsmath ttf-kochi-gothic ttf-kochi-mincho ttf-marvosym ttf-mona ttf-radisnoir ttf-sjfonts ttf-staypuft ttf-summersby ttf-tagbanwa ttf-tiresias ttf-unifont ttf-wqy-zenhei ttf-wqy-zenhei ttfautohint tv-fonts unifont xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-a12k12 xfonts-ayu xfonts-baekmuk xfonts-base xfonts-bitmap-mule xfonts-biznet-100dpi xfonts-biznet-75dpi xfonts-biznet-base xfonts-bolkhov-75dpi xfonts-bolkhov-cp1251-75dpi xfonts-bolkhov-cp1251-misc xfonts-bolkhov-isocyr-75dpi xfonts-bolkhov-isocyr-misc xfonts-bolkhov-koi8r-75dpi xfonts-bolkhov-koi8r-misc xfonts-bolkhov-koi8u-75dpi xfonts-bolkhov-koi8u-misc xfonts-bolkhov-misc xfonts-cronyx-100dpi xfonts-cronyx-75dpi xfonts-cronyx-cp1251-100dpi xfonts-cronyx-cp1251-75dpi xfonts-cronyx-cp1251-misc xfonts-cronyx-isocyr-100dpi xfonts-cronyx-isocyr-75dpi xfonts-cronyx-isocyr-misc xfonts-cronyx-koi8r-100dpi xfonts-cronyx-koi8r-75dpi xfonts-cronyx-koi8r-misc xfonts-cronyx-koi8u-100dpi xfonts-cronyx-koi8u-75dpi xfonts-cronyx-koi8u-misc xfonts-cronyx-misc xfonts-cyrillic xfonts-efont-unicode xfonts-efont-unicode-ib xfonts-encodings xfonts-intl-arabic xfonts-intl-asian xfonts-intl-chinese xfonts-intl-chinese-big xfonts-intl-european xfonts-intl-japanese xfonts-intl-japanese-big xfonts-intl-phonetic xfonts-jisx0213 xfonts-jmk xfonts-kaname xfonts-kapl xfonts-kappa20 xfonts-marumoji xfonts-mona xfonts-mplus xfonts-nexus xfonts-scalable xfonts-shinonome xfonts-terminus xfonts-terminus-dos xfonts-terminus-oblique xfonts-thai xfonts-thai-etl xfonts-thai-manop xfonts-thai-nectec xfonts-thai-poonlap xfonts-thai-vor xfonts-tipa xfonts-unifont xfonts-wqy xgridfit

 

Font Paths (CentOS & Debian)

As font directories may be different than those given in above examples it may be necessary to replace part of the paths

Examine /etc/fonts/fonts.conf. Look for the "Font directory list."

/etc/fonts/fonts.conf
<!-- Font directory list -->
    <dir>/usr/share/fonts</dir>
    <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/usr/local/share/fonts</dir>
    <dir>~/.fonts</dir>

These are the directories the apt-get & yum commands will install the fonts to. These values sometimes vary between computers. After installing fonts you can expect to find them in one of these directories.




  • No labels