Name
AddFontPath -- add additional search path for fonts (V5.0)
Synopsis
AddFontPath(path$)
Function
This function adds the path specified in path$ to the search paths of Hollywood's inbuilt font engine. By default, the inbuilt font engine only looks for fonts inside a subdirectory "Fonts" in the current directory. On Amiga systems, it also looks in the FONTS: assign. If you want Hollywood to look into other paths as well, you need to add them using AddFontPath().

Please note that the search paths specified here only affect the inbuilt font engine, i.e. they are only used when you specify #FONTENGINE_INBUILT in OpenFont(), SetFont(), or @FONT. The search paths specified here are not respected when using #FONTENGINE_NATIVE.

Inputs
path$
path to add to Hollywood's inbuilt font engine search paths
Example
AddFontPath("Data/Fonts")
Adds the path "Data/Fonts" to the font engine's search paths.

Show TOC