2. Tekst

2.1. Å leggja til skrifttypar

GIMP uses the FreeType 2 font engine to render fonts, and a system called Fontconfig to manage them. FreeType 2 supports many common font file formats.

Any font in Fontconfig's font path is available in GIMP. In addition, any font which is located in GIMP's Font Folders is available in GIMP. Font Folders are set on the Fonts page in the Folders preferences.

By default, there are two Font Folders: The system GIMP fonts folder (which you should not alter), and a fonts folder inside your personal GIMP directory. You can also add additional font folders if wanted.

  • Linux

    Du kan installera skrifttyper på mange måtar:

    • Bruka eit program som GNOME Fonts eller KFontView for å installera skriftene.

    • Leggja inn skriftfilene i mappa ~/.local/share/fonts/. Dette gjer skrifttypane tilgjengelege berre for deg.

    • Viss du har administrasjonsrettar, legg skriftfilene i mappa /usr/local/share/fonts/. Dette vil gjera skriftfilene tilgjengelege for alle brukarane.

    I alle filfella vil dette gjera skriftene tilgjengelege for alle program som brukar Fontconfig.

  • Microsoft Windows

    Det er fleire måtar å installera ein skrifttype på heile systemet:

    • Dra skriftfila inn i skriftmappa C:\Windows\Fonts.

    • Install the font via the Settings app. In Windows, go to Settings, select Personalization, then from there go to Fonts.

  • macOS

    • Installera skrifttypen ,ed programmet Font Book.

The installed fonts will show up the next time you start GIMP. If you want to use it in an already running GIMP instance, press the Refresh button in the Fonts dialog.

[Notat] Notat

Viss du av ein eller annan grunn støyter på problem når du installerer ein skrifttype for heile systemet, prøv å installera skriftene i mappa fonts i den private GIMP-mappa (sjå ovanfor).

2.1.1. Problem med skrifttypane

In most cases, problems with fonts are caused by malformed font files or outdated font formats. If you experience crashes at start-up when GIMP scans your font directories, as a quick workaround you can start GIMP with the --no-fonts command line argument, but then you will not be able to use the text tool.