how to set OSFONTDIR to find font under the path com_apple_MobileAsset_Font7 in macOS ?
![](https://secure.gravatar.com/avatar/011fd8c90f5b4bf58d85f334e6a52d3b.jpg?s=120&d=mm&r=g)
17 Aug
2024
17 Aug
'24
12:35 p.m.
hi,lists In macOS, some fonts (e.g klee, stkaiti ,lihei) will be downloaded under the path --> /System/Library/AssetsV2/com_apple_MobileAsset_Font7/, and I set the system font environment like: --> export OSFONTDIR=/Library/Fonts/:/System/Library/Fonts:$HOME/Library/Fonts:/System/Library/AssetsV2/com_apple_MobileAsset_Font7. But why can't I retrieve the font in this path? I've rebuilt the index after setting up the environment. Thanks for the help. Muyik
![](https://secure.gravatar.com/avatar/011fd8c90f5b4bf58d85f334e6a52d3b.jpg?s=120&d=mm&r=g)
17 Aug
17 Aug
12:44 p.m.
I apologize for my carelessness, after I added / after path. everything worked fine.
18
Age (days ago)
18
Last active (days ago)
1 comments
1 participants
participants (1)
-
ai2472206007@yeah.net