# # Access Local Fonts

Foxit PDF SDK for Web uses the Local Font Access API
(opens new window) to access local fonts on the user's device. This operation can support more fonts and improve the document display effect on the Web.

It should be noted that this feature can only be used on browsers that support it, such as Chrome 103+ and Edge 103+. Firefox and Safari browsers do not support this. In addition, this feature requires HTTPS to be enabled.

## # Authorization

When the user accesses for the first time, the browser will request permission to access local fonts. Users need to manually authorize, otherwise the API will not be able to access local fonts. Foxit PDF SDK for Web will by default pop up a window prompting users to authorize fonts when they first access local fonts. Users can also modify the authorization through the API (PDFviewer#grantQueryLocalFontsPermission), they can choose to prohibit, directly allow access to fonts, or give a pop-up prompt.