{"id":9083,"date":"2025-03-31T08:58:26","date_gmt":"2025-03-30T23:58:26","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=9083"},"modified":"2025-03-31T09:25:41","modified_gmt":"2025-03-31T00:25:41","slug":"2025-3-30","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2025-3-30\/","title":{"rendered":"2025\/3\/30(\u65e5)"},"content":{"rendered":"\n<p>libfontlist\u306e\u958b\u767a\u3092\u9032\u3081\u305f\u3002\u57fa\u790e\u306f\u5927\u4f53\u7d42\u308f\u3063\u305f\u3002<\/p>\n\n\n\n<p>Windows\u306b\u304a\u3051\u308b\u30b7\u30b9\u30c6\u30e0\u30d5\u30a9\u30f3\u30c8\u53d6\u5f97\u304c\u91cd\u3044\u554f\u984c\u306b\u3064\u3044\u3066\u3001\u5730\u9053\u306b\u5b9f\u6e2c\u3057\u3066\u8abf\u3079\u305f\u3068\u3053\u308d<code>IDWriteFontList::GetFont<\/code>\u3068<code>IDWriteFont::CreateFontFace<\/code>\u304c\u4e3b\u305f\u308b\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002\u305d\u3057\u3066\u3044\u3064\u3082\u91cd\u3044\u8a33\u3067\u3082\u306a\u304f\u3001\u30d5\u30a9\u30f3\u30c8\u30d5\u30a1\u30df\u30ea\u304b\u3089\u521d\u3081\u3066\u305d\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u3068\u304d\u306a\u3069\u306b\u91cd\u304f\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u6b63\u76f4\u6539\u5584\u7b56\u304c\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u4e00\u65e6\u653e\u7f6e\u3059\u308b\u3002ChatGPT\u306b\u610f\u898b\u3092\u6c42\u3081\u3066\u307f\u305f\u3068\u3053\u308d\u3001CreateFontFace\u306e\u4ee3\u66ff\u3068\u3057\u3066\u30ec\u30b8\u30b9\u30c8\u30ea<code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts<\/code>\u306e\u76f4\u63a5\u53c2\u7167\u306a\u3069\u3092\u63d0\u6848\u3055\u308c\u305f\u304c\u3001\u3055\u3059\u304c\u306b\u90aa\u9053\u3092\u611f\u3058\u308b\u3002<\/p>\n\n\n\n<p>Linux\u306ffontconfig\u3092\u4f7f\u3046\u3002\u9811\u5f35\u3063\u305f\u3089\u3069\u3046\u306b\u304b\u306a\u3063\u305f\u3002\u7d50\u69cb\u3044\u308d\u3044\u308d\u60c5\u5831\u304c\u53d6\u308c\u308b\u3063\u307d\u3044\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306fMacOS\u3060\u304c\u3001CoreText\u306a\u308bAPI\u3092\u4f7f\u3046\u3089\u3057\u3044\u3002\u304b\u306a\u308a\u6163\u7fd2\u304c\u9055\u3046\u306e\u3067\u624b\u9593\u53d6\u3063\u305f\u304c\u3001\u6c17\u5408\u3067\u306a\u3093\u3068\u304b\u3057\u305f\u3002\u3053\u3061\u3089\u3082\u6c17\u5408\u3067\u5272\u3068\u306a\u3093\u3068\u304b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>CoreText\u306e\u554f\u984c\u306f\u30d5\u30a9\u30f3\u30c8\u306e\u592a\u3055\u60c5\u5831\u3067\u3001-1.0\uff5e+1.0\u3067\u53d6\u308c\u308b\u3068\u304b\u3044\u3046\u3044\u304b\u308c\u305fAPI\u3092\u3057\u3066\u3044\u308b\u30020.0\u304c\u6a19\u6e96\u306a\u306e\u306f\u3044\u3044\u304c\u305d\u308c\u4ee5\u5916\u306e\u4e00\u5207\u304c\u300cThin\u300d\u300cBold\u300d\u3068\u3044\u3063\u305f\u4e00\u822c\u7684\u306a\u592a\u3055\u540d\u79f0\u3068\u5bfe\u5fdc\u4ed8\u3051\u3089\u308c\u306a\u3044\u3002\u8ae6\u3081\u308b\u3057\u304b\u306a\u3044\u3093\u304b\u3002<\/p>\n\n\n\n<p>\u3042\u3068CoreFoundation\u306a\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u81ea\u4f53\u3082\u52d8\u6240\u304c\u3088\u304f\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u3002\u3042\u308a\u3068\u3042\u3089\u3086\u308b\u578b\u304c<code>CFHogeRef<\/code>\u3068\u3044\u3046\u578b\u306b\u30e9\u30c3\u30d7\u3055\u308c\u3066\u3044\u308b\u3002C++\u3067\u89e6\u3063\u3066\u3044\u308b\u306e\u304c\u304a\u304b\u3057\u3044\u306e\u3067\u3042\u3063\u3066\u3001\u4f55\u304b\u672c\u6765\u3082\u3063\u3068\u9ad8\u30ec\u30a4\u30e4\u306a\u5225\u8a00\u8a9e\u3067\u89e6\u308b\u3082\u306e\u3092\u7121\u7406\u3084\u308a\u76f4\u63a5\u89e6\u3063\u3066\u3044\u308b\u611f\u3058\u304c\u62ed\u3048\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u4ee3\u8868\u7684\u306a\u305d\u308c\u3068\u3057\u3066<code>CFStringRef<\/code>\u304c\u3042\u308b\u306e\u3060\u304c\u3001<code>CFStringGetCString<\/code>\u3067C\u6587\u5b57\u5217\u306b\u5909\u63db\u3067\u304d\u308b\u3002\u3053\u308c\u306f\u3053\u3061\u3089\u3067\u30d0\u30c3\u30d5\u30a1\u3092\u7528\u610f\u3057\u3066\u3042\u3052\u3066\u305d\u3053\u306b\u66f8\u304d\u8fbc\u307e\u305b\u308b\u30bf\u30a4\u30d7\u3060\u3002\u4e00\u65b9\u3067\u3082\u3046\u4e00\u3064\u3001<code>CFStringGetCStringPtr<\/code>\u306a\u308b\u95a2\u6570\u3082\u3042\u308b\u3002\u3053\u3044\u3064\u306fC\u6587\u5b57\u5217\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u3002\u4f59\u8a08\u306a\u30e1\u30e2\u30ea\u30a2\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u907f\u3051\u308b\u610f\u5473\u3067\u5f8c\u8005\u306e\u65b9\u304c\u826f\u3044\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u304c\u3053\u308c\u306f\u7f60\u3060\u3063\u305f\u3002\u524d\u8005\u306f\u30d0\u30c3\u30d5\u30a1\u30b5\u30a4\u30ba\u3055\u3048\u8db3\u308a\u3066\u308c\u3070\u554f\u984c\u306a\u3044\u4e00\u65b9\u3067\u5f8c\u8005\u306f\u3061\u3087\u3044\u3061\u3087\u3044\u5931\u6557\u3059\u308b\u3002\u6b7b\u306d\u3070\u3044\u3044\u306e\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>libfontlist\u306e\u958b\u767a\u3092\u9032\u3081\u305f\u3002\u57fa\u790e\u306f\u5927\u4f53\u7d42\u308f\u3063\u305f\u3002 Windows\u306b\u304a\u3051\u308b\u30b7\u30b9\u30c6\u30e0\u30d5\u30a9\u30f3\u30c8\u53d6\u5f97\u304c\u91cd\u3044\u554f\u984c\u306b\u3064\u3044\u3066\u3001\u5730\u9053\u306b\u5b9f\u6e2c\u3057\u3066\u8abf\u3079\u305f\u3068\u3053\u308dIDWriteFontList::GetFont\u3068IDWriteFont &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2025-3-30\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2025\/3\/30(\u65e5)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9083","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/9083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=9083"}],"version-history":[{"count":18,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/9083\/revisions"}],"predecessor-version":[{"id":9103,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/9083\/revisions\/9103"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=9083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=9083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=9083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}