Daniel Fischer created PDFBOX-5348:
--------------------------------------
Summary: FontMapper should also take into account the user's font
directory on Windows operating systems
Key: PDFBOX-5348
URL: https://issues.apache.org/jira/browse/PDFBOX-5348
Project: PDFBox
Issue Type: Improvement
Components: FontBox
Affects Versions: 2.0.25
Environment: Windows 10 on x86-64
Reporter: Daniel Fischer
If you install a new font on a windows OS you can do that in two ways (e.g.
from within the Windows Explorer:
# For all users.
# Only for the logged in user.
Option 1 installs the font into directory %windir%\fonts .
Option 2 installs it into directory %LOCALAPPDATA%\Microsoft\Windows\Fonts
I guess option 2 should be added to
[org.apache.fontbox.util.autodetect.WindowsFontDirFinder|https://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/WindowsFontDirFinder.java?view=markup]
?
Interestingly on [Unix like OSes the user's home font folder is taken into
account|https://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/util/autodetect/UnixFontDirFinder.java?revision=1888485&view=markup#l35].
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]