Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はパンゴとカイロを使用しています。利用可能なフォントのリストを取得する簡単な方法はありますか? 解決策がかなり単純であれば、別のライブラリを使用しても構わないと思っています。
Pango には一連のフォント関数があり、フォントのリストを取得するには、pango_font_map_list_familiesを取得し、次にpango_font_family_list_facesを使用して個々の顔情報を取得する必要がありましたが、この場合はこれで十分です。