ãã£ã¨åå ãåãã£ãã
æºãè§ã´ã·ãã¯ãæºãææã®Super OTCçï¼è¨èªã»ã¦ã¨ã¤ãå ¨é¨å ¥ãï¼ã®ãã©ã³ãåãé·ããã¦ã.NET Frameworkããã°ã£ã¦ããã ã¢ã³ã¤ã³ã¹ãã¼ã«ãã¦ãRegion-specific Subset OTFãå ¥ãç´ãã¾ãããã
moraãã¦ã³ãã¼ãã¼
moraã¨ããé³æ¥½é ä¿¡ãµã¤ããããã ã¯ã¼ã«ãã¨ã«ã¢ãã½ã³ãã¾ã¨ãããã¼ã¸ããã£ã¦ä¾¿å©ã DRMããªã¼ã éå»ã«ã¯ãã¦ã³ãã¼ãã¯10åã¾ã§ã¨ããå¶éããã£ãããï¼æè¨ã¯ããã¦ããªããã®ã®ï¼ä»ã¯ãã®å¶éãç¡ããªã£ãã£ã½ãã
ä½è£ã§10å以ä¸è½ã¨ãããã©ãããªãããã¦ã³ãã¼ãåæ°å¶éã使ãåã£ã¦ã¿ãããã©ããç°å¢ãã®å®ç¾©ã£ã¦ä½ãªãã ãã pic.twitter.com/nf9MogUBxu
— kusanoãã@ããã°ããªã (@kusano_k) 2016å¹´11æ20æ¥
å°ç¨ã®moraãã¦ã³ãã¼ãã¼ãããã ããã使ãã¨ãè¤æ°ã®æ²ãã¾ã¨ãã¦ãã¦ã³ãã¼ããããã¨ãã§ãããã¡ã¤ã«åãå¤ãã¦ãã©ã«ãåããã¦ä¿åãã¦ãããã
ä»æã®ã¢ãã½ã³ãè²·ã£ã¦ãã¦ã³ãã¼ããããã¨ãããããmoraãã¦ã³ãã¼ãã¼ã¯åä½ãåæ¢ãã¾ãããã¨åºã¦ãã¦èµ·åããªãã¦å°ã£ãã
æºãè§ã´ã·ãã¯ã¨æºãææ
ãããã®ããããã£ãããããã®ã¿ãã¡ãããã¨èªããAdobeãé å¸ãã¦ããOSSãã©ã³ãã
ããªã¼ãªã®ã«ã¦ã§ã¤ããå¤ãã¦æ¥½ããã 1åã®ãã©ã³ããã½ããã¦ã§ã¢å¦çã§å¤ªåã«ããã®ã¯ç´ 人ã§ãããã¯æåãã太ããå¤ãã¦ä½ããããã©ã³ãã使ããããã
ãã¦ã³ãã¼ããã¼ã¸ï¼ã´ã·ãã¯ãææï¼ã«è¡ãã¨ã種é¡ãè²ã ãã£ã¦ã©ãããã¦ã³ãã¼ããã¦è¯ãã®ãè¿·ãã æè¿ã®OSã«ãã対å¿ãã¦ããªãããSuper OTCã¨ããã®ããã¦ã³ãã¼ãããã°ã1ãã¡ã¤ã«ã§è¨èªãã¦ã§ã¤ããå ¨ã¦æãã
ãããééãã®å
ã ã£ãâ¦â¦ã
ãã©ã³ããã¤ã³ã¹ãã¼ã«ããã¨ãã¬ã¸ã¹ããªã®HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
ã«æ¬¡ã®2åã®å¤ã追å ããããé·ãã¯ã©ã¡ãã259æåã
æºãè§ã´ã·ã㯠ExtraLight & Source Han Sans K ExtraLight & Source Han Sans SC ExtraLight & Source Han Sans TC ExtraLight & æºãè§ã´ã·ã㯠Light & Source Han Sans K Light & Source Han Sans SC Light & Source Han Sans TC Light & æºãè§ã´ã·ã㯠Normal & Source Han Sans K Normal & Sou
æºãææ ExtraLight & Source Han Serif K ExtraLight & Source Han Serif SC ExtraLight & Source Han Serif TC ExtraLight & æºãææ Light & Source Han Serif K Light & Source Han Serif SC Light & Source Han Serif TC Light & æºãææ & Source Han Serif K & Source Han Serif SC
ä¸èº«ãè¦ãã¨ãåãããã®é·ãã®ãã©ã³ãåãæ¸ãããã£ã¦ããããã«è¦ããã®ã§ãã©ããã§åãæ¨ã¦ããã¦ãããããã
Adobeããã®ãã©ã³ãåã«ãã¦ãããªãã°æå¥ãè¨ãããããã©ãã»ããã«ãªã£ããã©ã³ãã®ååã&
ã§é£çµãã¦ã¬ã¸ã¹ããªã®å¤åã«ãã¦ããã®ã¯Windowsã ãããï¼
調ã¹æ¹
moraãã¦ã³ãã¼ãã¼ã¯é»ã£ã¦è½ã¡ãã®ã§ãä½ãæ å ±ã¯å¾ãããªãã .NETã ããæ®éã«ãããã°ã¯ã§ããªãããã©ãããã®ã ããã¨æã£ããã©ã便å©ãªã½ããããã£ãã
éã¢ã»ã³ãã«ãéã³ã³ãã¤ã«çã®ã½ã¼ã¹ã³ã¼ã解æä½æ¥ã§ã¯ãªããmoraãã¦ã³ãã¼ãã¼ãã¹ã«ã¼ãã¦ããä¾å¤ã調ã¹ãç®çã§ä½¿ãã åããã«ãããã©ãbuild passingãã®ããã¸ãããã«ãæ¸ã¿ã®ãã¤ããªããã¦ã³ãã¼ãã§ããã
ãã®ã½ããä¸ã§å®è¡ããã¨ä¾å¤ãçºçããã¨ãã«ãä¾å¤ã®ä¸èº«ãè¦ãããã
$exception
å¤æ°ã®InnerException
ãé çªã«è¦ã¦ããã¨å¤§å
ã®åå ãåããã
ã¬ã¸ã¹ããªãä½ã¨ãã§è½ã¡ã¦ããã®ã§ããã¨ã¯Sysinternals Suiteã®Process Monitorã使ãã¨ãã¬ã¸ã¹ããªã«ã©ã®ãããªæä½ããã¦ããããåããã é·ã512ï¼ãã¶ããã¤ããªã®ã§256æåï¼ã®ãããã¡ã§èªããã¨ãã¦ã¨ã©ã¼ãè¿ã£ã¦ããã æããã ãã¨4æåé·ããã°â¦â¦ã
RegEnumValueãERROR_MORE_DATA
ãè¿ãã¦ããã ããªã®ã§ããããã¡ã¼ãªã¼ãã¼ããã¼ãªã©ã§ã¯ãªããç´°å·¥ããããã©ã³ããã¤ã³ã¹ãã¼ã«ãã¦moraãã¦ã³ãã¼ãã¼ãèµ·åããã¨ã·ã¹ãã ãä¹ã£åãããã¨ãã¯ãªãã
詳細
https://github.com/kusano/mora_not_run
.NET Frameworkã®3.5以ä¸ã®çã«ã¯ãRegistryKey.GetValueã256æå以ä¸ã®å¤ã®ååãåæã§ããªãã¨ãããã°ããããããã ãããªå¶ç´ã¯æ¸ãã¦ãªããã
試ãã«.NET Framework 2.0ã§ã¦ã£ã³ãã¦ãä½ã£ã¦ã¿ãããã©ããã©ã³ãã®ä¸è¦§ã¯èªã¿ã«ãããªãã£ãã®ã§ãä½ãããªã¬ã¼ãªã®ãåãããªãã
moraãã¦ã³ãã¼ãã¼ã¯.NET Frameworkã使ã£ã¦ããã ããªã®ã§ã対å¿ãããªã.NET Frameworkã®ãã¼ã¸ã§ã³ãä¸ãããããªãããã
Registry Element Size Limits (Windows)
MSDNãè¦ã¦ã¿ãã¨ãå¤ã®ååã®æ大é·ã¯16,383æåã
éå»ã«ã¯ï¼ANSIã ãã©ï¼260æåã¨ããå¶ç´ããã£ããã¨ããããããã
ãã©ã³ãåã259æåã«åãè©°ãããã¦ããã®ã¯ã260æåã¾ã§ãã対å¿ãã¦ããªãç°å¢ãã½ãããæèãã¦ã®ãã¨ã ãããã
æ¯ã¹ã¦ã¿ãã¨æ大é·ã256æåã®RegistryKey.GetValue
ã¯éã
ã¡ãªã¿ã«ãWindowsã®ã¬ã¸ã¹ããªã¨ãã£ã¿ã¯260æå以ä¸ã®é·ãå¤åã表示ãããã¨ã¯ã§ããããã©ãé·ãå¤åãè¨å®ãããã¨ããã¨259æåã«åãè©°ããããã
ãã¾ã
moraãã¦ã³ãã¼ãã¼ä»¥å¤ã®ã¢ããªã28e89a9f-e67d-3028-aa1b-e5ebcde6f3c8
ã¨ããMutexãä½æãã¦ããã¨åæ§ã«è½ã¡ãã
âã®ãã©ã³ãã®ã¬ã¸ã¹ããªãåæããããã°ã©ã ã§ã¯ãã¤ãã§ã«ãã®Mutexãä½æãã¦ããã®ã§ã確èªãã§ããã
ãã¶ããåæèµ·åæå¶ã¨ãã«ä½¿ã£ã¦ããã®ã ã¨æãã
ãã®æååãmoraãã¦ã³ãã¼ãã¼ã®GUIDãªãã°ä½ã®åé¡ãç¡ãã®ã ãã©ãããã¯.NET Framework 2.0ã®System.Reflection.Assembly
ã®GUIDã
ä½ãåéãããã¦ããï¼
ãã¨ãmoraãã¦ã³ãã¼ãã¼ãèµ·åãã¦ãæåã®1æ²ç®ã®ãã¦ã³ãã¼ãããã¨ã©ã¼ã³ã¼ã:21003ãã§å¤±æããã¨ããåé¡ãããã
moraãã¦ã³ãã¼ãã¼ã®ãã¨ã©ã¼ã³ã¼ã:21003ãä»åãååãåºããä½ãªãã ãããã¦ã§ããµã¤ãã®ãã¦ã³ãã¼ãããããç´ãã°ãã¦ã³ãã¼ãã§ããããå¥ã«è¯ãã®ã ãã©ãé¢åã ããããã®ãã¤ã¢ãã°ã«ãå試è¡ããã¿ã³ãä»ãã¦ã»ããã pic.twitter.com/OjyqQ44Kl5
— kusanoãã@ããã°ããªã (@kusano_k) 2016å¹´11æ20æ¥
ãµãã¼ãã«è¨ããããããããã·è¨å®ããããã¯ã¼ã¯éä¿¡ç¶æ³ã«èµ·å ããåé¡ã§ããå¯è½æ§ãã¨è¨ããããã©ãæåã®1æ²ç®ã¯å¸¸ã«å¤±æããããTwitterãæ¤ç´¢ãã¦ãä¼¼ããããªãã¨ãè¨ã£ã¦ãã人ããããããããã¯ã¼ã¯ã®åé¡ãªã©ã§ã¯ãªãã®ã§ã¯ãã¤ãã§ã«ç´ãã¦ã»ããã