[OS X TeX] Cannot remove drm fonts
Murray Eisenberg
murrayeisenberg at gmail.com
Sat Mar 26 18:17:36 CET 2022
> On 26 Mar2022, at 12:55 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
>
>
>> On Mar 26, 2022, at 10:30 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>
>>
>> On 26 Mar2022, at 11:12 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>>
>>>
>>>
>>>> On Mar 26, 2022, at 9:54 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>>>
>>>> Due to a large number of font packages installed by TeXLive 2021, some (non-TeX-related) apps are very slow to load, so I want to remove some of the TeXLive fonts I do not use.
>>>>
>>>> To begin, I wanted to remove the drm package of fonts. I tried this with the TeXLive Utility, but I received a “failed” error.
>>>>
>>>> The log is below.
>>>>
>>>> How should I proceed?
>>>>
>>>> 2022-03-26 14:49:26 +0000 Notice -[TLMInfoController showInfoForPackage:location:][2019] drm found in database; bypassing tlmgr.
>>>> 2022-03-26 14:49:58 +0000 Notice -[TLMMainWindowController removePackagesWithNames:force:][2019] Beginning removal of
>>>> (
>>>> drm
>>>> )
>>>> 2022-03-26 14:49:58 +0000 Notice -[TLMAuthorizedOperation main][2019] Checking code signature before running tlu_ipctask as root…
>>>> 2022-03-26 14:49:58 +0000 Notice /usr/bin/codesign[2019] /Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk
>>>> /Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement
>>>> 2022-03-26 14:49:58 +0000 Notice -[TLMAuthorizedOperation main][2019] Signature was valid, okay to run tlu_ipctask
>>>> 2022-03-26 14:50:02 +0000 Notice -[TLMAuthorizedOperation main][2019] Invoking privileged task via AuthorizationExecuteWithPrivileges
>>>> 2022-03-26 14:50:02 +0000 Notice tlu_ipctask[2341] dropped privileges to user nobody
>>>> 2022-03-26 14:50:03 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][2019] tlu_ipctask checking in: tlu_ipctask pid = 2341
>>>> 2022-03-26 14:50:04 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][2019] tlu_ipctask checking in: pid = 2342 (/Library/TeX/texbin/tlmgr remove drm)
>>>> 2022-03-26 14:50:04 +0000 Notice tlu_ipctask[2341] tlu_ipctask: child HOME = '/var/root'
>>>> 2022-03-26 14:50:04 +0000 Notice tlu_ipctask[2341] tlu_ipctask: current HOME = '/var/empty'
>>>> 2022-03-26 14:50:05 +0000 Warning tlu_ipctask[2341] tlmgr: not removing drm, needed by collection-fontsextra
>>>> 2022-03-26 14:50:05 +0000 Warning tlu_ipctask[2341] tlmgr: action remove returned an error; continuing.
>>>> 2022-03-26 14:50:05 +0000 Notice tlu_ipctask[2341] tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
>>>> 2022-03-26 14:50:05 +0000 Notice tlu_ipctask[2341] tlmgr: no packages removed.
>>>> 2022-03-26 14:50:06 +0000 Warning tlu_ipctask[2341] tlmgr: An error has occurred. See above messages. Exiting.
>>>> 2022-03-26 14:50:06 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][2019] kqueue noted that pid 2342 exited (/Library/TeX/texbin/tlmgr remove drm)
>>>> 2022-03-26 14:50:06 +0000 Notice tlu_ipctask[2341] child process pid = 2342 exited
>>>> 2022-03-26 14:50:07 +0000 Notice tlu_ipctask[2341] exit status of pid = 2342 was 1
>>>> 2022-03-26 14:50:07 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][2019] exit status of pid = 2341 was 1
>>>> 2022-03-26 14:50:07 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][2019] kqueue noted that tlu_ipctask (pid = 2341) exited with status 1
>>>> 2022-03-26 14:50:07 +0000 Notice -[TLMRemoveOperation main][2019] ERROR: failed to remove packages {(
>>>> drm
>>>> )} (requested removal of (
>>>> drm
>>>> ))
>>>> ---
>>>> 7
>>>
>>>
>>> First, how are you getting the OS font system to ``see'' your otf fonts?
>>>
>>> If you are using a symbolic link (or links) and only want small known subset of the fonts instead make individual links to the font folders you want to appear. Note: these are needed by xelatex if you refer to the fonts by font name rather than file name.
>>>
>>> On a slightly different note the symbolic links should be made via /Library/Root rather than /usr/local/texlive/xxxx/... . That way when you change the active TeX Distribution (via tlmgr or TLU) the fonts being pointed to are the active versions.
>>>
>>
>> Sorry, I don’t understand what you’re asking.
>>
>> The drm fonts were installed automatically as part of the original MacTeX 2021 complete installation.
>>
>> They all appear in Font Book, under the User category (as opposed to the Computer category). I tried to remove them in Font Book, but that fails to work. (Probably a permissions issue_.
>>
>
> Howdy,
>
> The OS (i.e., Font Book) does NOT search for fonts outside of the .../Library/Fonts folders (and sub-folders thereof); e.g. ~/Library/fonts, /Library/Fonts, /System/Library/Fonts, ... . Therefore you must be doing something to have Font Book find those fonts in one of those folder (most likely ~/Library/Fonts). E.g., I have a symlink, ~/Library/Fonts/TeXOTFonts, that points to /Library/TeX/Root/texmf-dist/fonts/opentype which makes those fonts available to the OS (Font Book).
>
Aha! I had an alias in ~/Library/Fonts to /usr/local/texlive/2021/texmf-dist/fonts/opentype .
I removed that alias and now, of course, those fonts are gone from Font Book.
Thanks!
---
Murray Eisenberg murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101
Rockville, MD 20850-6667
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.