java.lang.Object | |
↳ | com.pdftron.pdf.WebFontDownloader |
The class WebFontDownloader. static interface to control the behaviour of PDFNet web font downloading
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
clearCache()
clear any pre-cached font files residing in persistent storage.
| ||||||||||
static void |
disableDownloads()
Prevent PDFNet from accessing the network to download missing fonts.
| ||||||||||
static void |
enableDownloads()
Allow PDFNet to access the network to download missing fonts when possible.
| ||||||||||
static boolean |
isAvailable()
Find out whether the web font downloader is available in version of PDFNet.
| ||||||||||
static void |
preCacheAsync()
download and cache a base collection of fonts in a background thread.
| ||||||||||
static void |
setCustomWebFontURL(String url)
Set the root path into which the web font downloader will make requests.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
clear any pre-cached font files residing in persistent storage.
PDFNetException |
---|
Prevent PDFNet from accessing the network to download missing fonts. It may still use previously downloaded fonts (which are cached on disk).
PDFNetException |
---|
Allow PDFNet to access the network to download missing fonts when possible.
PDFNetException |
---|
Find out whether the web font downloader is available in version of PDFNet.
PDFNetException |
---|
download and cache a base collection of fonts in a background thread. Will not do anything if downloading is currently disabled.
PDFNetException |
---|
Set the root path into which the web font downloader will make requests.
url | -- The root path into which the web font downloader will make requests. |
---|
PDFNetException |
---|