TE
テックエコー
ホーム24時間トップ最新ベスト質問ショー求人
GitHubTwitter
ホーム

テックエコー

Next.jsで構築されたテクノロジーニュースプラットフォームで、グローバルなテクノロジーニュースとディスカッションを提供します。

GitHubTwitter

ホーム

ホーム最新ベスト質問ショー求人

リソース

HackerNews APIオリジナルHackerNewsNext.js

© 2025 テックエコー. すべての権利を保有。

Why does macOS prefer using PDF files for icons or UI elements?

2 ポイント投稿者: damiaozi7日前
Running `find &#x2F;System&#x2F;Library&#x2F; -name &quot;*.pdf&quot;` reveals that macOS uses many .pdf files as icons or UI elements. For example, the VPN connection animation in the menu bar seems to cycle through a sequence of .pdf files located at:<p>&#x2F;System&#x2F;Library&#x2F;CoreServices&#x2F;Menu Extras&#x2F;VPN.menu&#x2F;Contents&#x2F;Resources&#x2F;VPN[0-4].pdf<p>Why PDF, instead of more traditional formats like PNG or SVG? Is this due to Quartz&#x2F;CoreGraphics rendering benefits, vector scaling efficiency, or something else?

1 comment

neximo647日前
its a more efficient vector format than PNG or SVG.
评论 #43996220 未加载