ãå®å ¨çãLigature Symbols ãã©ã³ãã»ããã®èªä½æ¹æ³
ä»æã®åãã«Ligature Icon ãã©ã³ãã»ããã®èªä½æ¹æ³ã¨WebFontã¨ããã¨ã³ããªã¼ãæ¸ãã¾ãããããã¯symbolsetã¨ãããµã¤ãã«inspireããã¦ãLigatureæ©è½ã使ã£ãSymbol Web Fontãèªä½ãããã¨ãã試ã¿ãæ¸ãããã®ã§ãããããããã®æã¯symbolsetã§å®ç¾ããã¦ãããããªãã®ã«ã¯åã°ãªãä¸å®å ¨ãªãã®ã«ãªã£ã¦ãã¾ãã¾ããã
ãã®å¾ãããããã¨èª¿ã¹ãã試ãããããä¸ã§symbolsetç¸å½ã®WebFontãèªä½ãããã¨ãåºæ¥ã¾ãããä»åã¯ãã®ããã»ã¹ã¨æè¡ç解説ã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã
Ligature Symbols ã«ã¤ãã¦
ã¾ãã¯ä»åèªä½ããWeb Fontã®ãã¢ãã¼ã¸ãã覧ãã ããã
ãDEMOã Ligature Symbols
ä»åä½æããLigature Symbols Fontã¯OFLã©ã¤ã»ã³ã¹ã§å
¬éãã¦ããããã¦ã³ãã¼ãã使ç¨æ¹æ³ãç´¹ä»ãã¦ãã¾ãã®ã§ãèå³ã®ããæ¹ã¯ãã²ãã¦ã³ãã¼ããã¦ä½¿ã£ã¦ã¿ã¦ãã ããã
ãã¼ã¸ã®ãããã«ã¯ããã«ãã©ã³ãã試ããã¨ãã§ããå
¥åãã©ã¼ã ãç¨æãã¦ãã¾ãã®ã§ã試ããã ãããä»ã®ã¨ãã確èªãã§ãã¦ãã対å¿ãã©ã¦ã¶ã¯Chrome, Safari, Sleipnir for Mac, Firefox, iOS - Mobile Safari, Android Browserã§ãã
åºæ¬çãªæè¡ã¨ä»çµã¿ã«ã¤ãã¦
Ligature Symbolsã¯Liagtureï¼ååï¼ã¨ããæ©è½ã使ç¨ãã¦ä½æãã¦ãã¾ããååã«é¢ãã説æã¯ã¿ã¤ããã£ã¬ã¯ã¿ã¼ã¨ãã¦ãæåãªå°æç« ããã®ããã°ã«ããããããã¨ã³ããªã¼ãããã¾ãã®ã§ã覧ãã ããã
ã¤ã¾ãååã¨ã¯ããã¶ã¤ã³ä¸ã®çç±ãªã©ã«ãã£ã¦è¤æ°ã®æåãçµåãã¦ä¸ã¤ã®æåè¨å·ã¨ãã¦ãã¶ã¤ã³ããããã®ã®ãã¨ãè¨ãã¾ãããã£ã¨ãä¸è¬çã«è¦ãããã®ã¯ãff, fi, flãã¨ãã£ãã¢ã«ãã¡ããããçµåããååã§ãã
ä»åã®èªä½ãã©ã³ãã§ã¯ãããå¿ç¨ãã¦ä½ã£ã¦ããããtwitterããªã©ã®ãããªç¹å®ãªæååãã¿ã¤ãããã¨ãã«ç¹æ®ãªæåè¨å·ï¼Symbolï¼ã表示ããããã«ãã¦ãã¾ãã
ååã«ã¯ããã¤ãã®ç¨®é¡ããããff, fi, flããªã©ã®ä¸è¬çãªãã®ã¯æ¨æºã®ååã§ããä»ã«ãæ´å²çãªååãè£
飾çãªååãä»åã®ãããªå ´åã«ä½¿ç¨ããä»»æã®ååã¨ãã£ããã®ãããã¾ããååã¯ãã®ä»æ§ã«ãã£ã¦ãä»»æã®ååãã§Symbolã®Ligatureãä½æããã®ã§ãããããã§ã¯ãã©ã¦ã¶ããã®ä»æ§ã«è¿½ãã¤ãã¦ããªããã表示ã§ãã¾ããã§ããï¼ç¾ç¶Firefoxã ãã¯ãã®ãããã®Opentypeã®æ©è½ãå®è£
ããã¦ãã¦ãååã®Symbol Ligatureã表示ããã¾ããï¼ã
ãã®ããä»åã¯ããã¦æ¨æºçãªååã¨ãã¦æ¸ãåºããã¨ã§ChromeãSafariã¨ãã£ããã©ã¦ã¶ã§ã表示ãããã¨ãã§ããããã«ãã¦ãã¾ãã
Ligature Symbolsã®ä½æããã»ã¹
Ligature Symbolsã®ä½æããã»ã¹ã«ã¤ãã¦ååã¨ã®éããè¸ã¾ããªããç´¹ä»ãã¦ã¿ããã¨æãã¾ãã
ååã¯Glyphs Miniã¨ãããã©ã³ãå¶ä½ã¢ããªã使ç¨ãã¾ãããGlyphs Miniã¯ææãã©ã³ãå¶ä½ã¢ããªã¨ãã¦ã¯é常ã«å®ä¾¡ã§ã¢ããªã±ã¼ã·ã§ã³ã¨ãã¦ãåªãã¦ãããã®ã§ããããããããåãã§ã¯ãªãã¶ãã§ãããã¨ã¯éããã¦ãããä»åã®ãããªç¹æ®ãªã±ã¼ã¹ã§ä½¿ç¨ããã«ã¯ãã¾ãé©ããªãã£ãã®ããããã¾ãããï¼ããã©ãä»åã®ãã©ã³ãä½æã«ããã£ã¦ã¯çµå±ä½¿ç¨ãããã¨ã«ãªã£ãã®ã§ããâ¦ï¼
ã¨ãããã¨ã§ãä»åã¯ãªã¼ãã³ã½ã¼ã¹ã§å ¬éããã¦ããFontForgeï¼æ¥æ¬èªçï¼ã¨ããã¢ããªã±ã¼ã·ã§ã³ã使ç¨ãã¦ä½æãã¾ãããFontForgeã¯ç¡æã§å ¬éããã¦ããä¸ã«ãpostscript / truetype / opentype / svg font / web open font formatãªã©ã¸ã®æ¸ãåºããUnicodeã®è¨å®ãç´°ããªãã©ã³ãæ å ±ã®è¨å®ãã§ããé常ã«åªããã¢ããªã±ã¼ã·ã§ã³ã§ãã
FontForgeã®ã¤ã³ã¹ãã¼ã«ï¼for Macï¼
FontForgeã¯Macã®å ´åX11ä¸ã§èµ·åãã¾ããã¾ãã¯Macãè²·ã£ãã¨ãã«ä»å±ãã¦ããã¤ã³ã¹ãã¼ã«DVDãããããããX11ãã¤ã³ã¹ãã¼ã«ãã¦ããã¦ãã ããã
FontForgeã®ã¤ã³ã¹ãã¼ã«ã«ã¯Homebrewã使ãã¾ãããããããªäººãhomebrewã使ã£ãFontforgeã®ã¤ã³ã¹ãã¼ã«ã«ã¤ãã¦æ¸ãã¦ãã¾ãã®ã§ï¼Lionã§homebrewã使ã£ã¦fontforgeãã¤ã³ã¹ãã¼ã«ãªã©ï¼æ¤ç´¢ãã¦åèã«ããªããè¡ãã¾ãã
ç§ã®å ´åã¯ãä½åº¦ãã¨ã©ã¼ãã§ã¦ããããã¨ã¤ã¾ã¥ãã¦ããã®ã§ããã幸ãè¿ãã«ããã¨ã³ã¸ãã¢ã® id:mechairoi ããã«æä¼ã£ã¦ããããªããã¤ã³ã¹ãã¼ã«ã§ãã¾ããã
FontForgeã®ä½¿ãæ¹
èµ·åãã¦ããã«ãã¡ã¤ã«é¸æã¦ã£ã³ãã¦ãç«ã¡ä¸ããã¾ããæåã¯æ°è¦ä½æã§ãã®ã§ä¸é¨ä¸å¤®ã«ãã[New]ãã¿ã³ãæ¼ãã¾ããããããã¨ã¡ã¤ã³ã®ã¦ã£ã³ãã¦ã表示ãããã®ã§ãã¢ã«ãã¡ããããªã©ã¯ä½æãããæåã®ãã¹ãããã«ã¯ãªãã¯ããã¨Glyphã®ä½æã¦ã£ã³ãã¦ã表示ããã¾ãã
é常ã¯ããã§ã¢ã«ãã¡ããããè¨å·ãªã©ãæãã¦ããã®ã§ãããç§ã¯ååGlyphs Miniã§ä½æãããã©ã³ããã¡ã¤ã«ãããã®ã§ãããç¨ãã¦ä½æãããã¨ã«ãã¾ãããæ¢åã®ãã©ã³ããã¡ã¤ã«ããä½æããå ´åã¯ã¡ãã¥ã¼ã®ãã¨ã¬ã¡ã³ã > ãã©ã³ãã®çµ±åãã§ãã©ã³ããã¡ã¤ã«ãé¸æãã¦ãã¼ã¸ãããã¨ãã§ãã¾ãã
ãã©ã³ãæ å ±ã»Ligatureã®è¨å®ããã
次ã«ãã©ã³ãæ
å ±ã®è¨å®ãè¡ãã¾ããã¡ãã¥ã¼ã®ãã¨ã¬ã¡ã³ã > ãã©ã³ãæ
å ±ããé¸æãã¦ãã ããããã©ã³ãåãã¦ã§ã¤ãããã¼ã¸ã§ã³ãèä½æ¨©è¡¨ç¤ºã®è¨å®ãã§ãã¾ãã
Ligatureã®è¨å®ã¯å·¦ã®ã¡ãã¥ã¼é ç®ã§Lookupsãé¸æãã¦ãã ãããç§ã¯ååä½æãããã©ã³ãã«ååãå«ã¾ãã¦ãããããGSUBã«ä¸ã¤é ç®ã表示ããã¦ãã¾ãã(1) æ°è¦ä½æã®å ´åã¯å³ã®[Add Lookup]ãã(2) ç§ã®ããã«ãã§ã«ååã«é¢ããé ç®ãããå ´åã¯é¸æãã¦ãã[Edit Metadata]ãã¿ã³ãæ¼ãã¦ãã ããã
(1) [Add Lookup]ãæ¼ãã¨Lookup追å ã¦ã£ã³ãã¦ã表示ãããã®ã§ãä¸çªä¸ã®ã種é¡ãã®é
ç®ãããLigature Substitutionããé¸æãã¾ãã次ã«ããä¸ã®ã»ã«ã®ï¼Newï¼ã®æ¨ªã®é·æ¹å½¢ãã¯ãªãã¯ãã¦ãæ¨æºã®ååããé¸æãã¾ããããã§[OK]ãæ¼ãã¦å®äºã§ããã§ããLookupã«[Add Subtable]ããã¦ããã¨å¾ã
楽ããããã¾ããã
(2) [Edit Metadata]ãæ¼ãã¨ã»ã«ã«ãã§ã«dligã¨ããã®ãå
¥ã£ã¦ãã¾ããããã¯ãä»»æã®ååãã§ãååGlyphs Miniã§ä½æããéã«èªåçã«è¨å®ããããã®ã ã¨æããã¾ãããªã®ã§dligã®æ¨ªã®é·æ¹å½¢ãã¯ãªãã¯ãã¦ãæ¨æºã®ååããé¸æãããLookup Nameããé©å½ãªååã«å¤æ´ãã¦ããã¾ããLookupã«ã¯Subtableã¨ããã®ãä»éãã¦ããã®ã§ã¤ãã§ã«ãã®ã©ãã«åãå¤æ´ãã¦ããã¨å¾ã§ééããªãã¦è¯ãã¨æãã¾ãã
Glyphã®æ å ±ã»Unicodeã»Ligatureã®è¨å®ããã
次ã«åã ã®Glyphã«å¯¾ããè¨å®ããã¾ããè¨å®ãããGlyphãé¸æãã¦ã¡ãã¥ã¼ã®ãã¨ã¬ã¡ã³ã > Glyph info...ããé¸æãã¦ãã ãããGlyphã®è¨å®ã¦ã£ã³ãã¦ã表示ãããã®ã§ãã¾ãã¯Glyphã®ååã¨Unicodeã®è¨å®ããã¾ããç§ã®å ´åã¯ååä½æããGlyphã§Glyphs Miniã®ä»æ§ã®ããã¢ã³ãã¼ãã¼ã§é£çµãããååãå ¥ã£ã¦ããã®ã§ãä¿®æ£ãã¾ãã
ã¦ãã³ã¼ãã¯ä»åã®ãããªç§çãªç®çã®å ´åã®æåã«å¯¾ãã¦ä½¿ããç§ç¨é¢ãï¼BMPã®U+E000ãU+F8FFã®é åã®æ¡å¼µï¼ãå²ãå½ã¦ãã®ãé©åã ã¨æãã¾ãã詳ããã¯Wikipediaã®èª¬æãªã©ãåèã«ãã¦ãã ãããã¾ãããç§ç¨é¢ãã«é¢ãã¦ãAdobeãªã©ãäºç´ãã¦ããé åãããã¨ãã£ãæ
å ±ãããã¾ãããä»åã¯èæ
®ãã¦ãã¾ãããããå°ãã¡ããã¨èª¿ã¹ãå¿
è¦ãããããã§ãã
次ã«å·¦ã®ã¡ãã¥ã¼é
ç®ãããååããé¸æãã¦è¨å®ãã¾ããæ°è¦ä½æã®å ´åã¯ï¼æ°ããååï¼ãæ¼ãã¦å
ã»ã©è¨å®ããsubtableãé¸æãã¾ãï¼ãªãå ´åã¯ä½æãã¦ãã ããï¼ãå³å´ã®Source Glyph Namesã®ã¨ããã«ã¯ååã«ãããæåã®çµã¿åãããåè§ã¹ãã¼ã¹åºåãã§å
¥åãã¾ãã
ãã¼ããã¼ã¯ã®ããã«ãheart / loveãã¨è¤æ°å¼ã³åãããå ´åã¯è¤æ°è¨å®ãã¦ããã¨è¯ãããããã¾ããã
ãã©ã³ããã¡ã¤ã«ã®æ¸ãåºã
ã¡ãã¥ã¼ã®ããã¡ã¤ã« > ãã©ã³ããåºåããããã©ã³ããã¡ã¤ã«ã®æ¸ãåºããã§ãã¾ããæ¸ãåºããã¡ã¤ã«åãè¨å®ããæ¬ã®ä¸ã«ãã¢ã¦ãã©ã¤ã³ãã©ã³ãç¡ããã¨æ¸ãããã»ã¬ã¯ã¿ãããã®ã§ããããåºåãããã©ã¼ããããé¸æãã¾ããç§ã®å ´åã¯WebFontã«ããããã«ãTrueType / SVGãã©ã³ã / Web Open Fontããåºåãã¾ããã
以ä¸ã§FontForgeã«é¢ãã説æã¯çµããã§ããæ£ç´FontForgeã®ä½¿ç¨æ¹æ³ã«é¢ãã¦ã¯ã¾ã ã¾ã åå¼·ä¸è¶³ãªé¨åãå¤ãã§ãããªã®ã§å®éã®ä½¿ç¨ã«ããã£ã¦ã¯èª¬æä¸è¶³ãªé¨åãå¤ã ãããã¨æãã¾ããããåå¼ãã ãããããFontForgeã«é¢ãã¦è©³ããæ¹ããããã¾ãããããã²ã¨ã³ããªã¼ãªã©ãæ¸ãã¦ç¥ããã¦ããããã¨å¬ããã§ã :-)
WebFontã¨ãã¦ä½¿ç¨ããæ¹æ³ã¨CSSãã¯ããã¯
ååã®ã¨ã³ããªã¼ã§ãç´¹ä»ãã¾ãããå°ãéãé¨åãããã®ã§ãããä¸åº¦ç´¹ä»ãããã¨æãã¾ããä»åInternetExplorerã§ã®è¡¨ç¤ºã®ç¢ºèªã¯ãã¦ãã¾ãããã念ã®ããIEç¨ã®EOTãã¡ã¤ã«ãç¨æãã¦ãããã¨æãã¾ããttf2eotã¨ãããµã¤ãã§TruetypeããEOTã¸ã®å¤æãã§ããã®ã§ãç§ã¯ããã使ã£ã¦ç¨æãã¾ããã
WebFontã®è¨è¿°ã¨Ligatureç¨ã®CSS Style
WebFontã®ä½¿ç¨ã«ã¯ã¾ã以ä¸ã®ããã«CSSãè¨è¿°ãã¦ãfont-faceãç»é²ãã¦ããã¾ãã
@font-face { font-family: 'LigatureSymbolFont'; src: url('LigatureSymbolFont.eot'); src: url('LigatureSymbolFont.eot?#iefix') format('embedded-opentype'), url('LigatureSymbolFont.woff') format('woff'), url('LigatureSymbolFont.ttf') format('truetype'), url('LigatureSymbolFont.svg#LigatureSymbolFont') format('svg'); src: url('LigatureSymbolFont.ttf') format('truetype'); font-weight: normal; font-style: normal; }
ããã¦ãLigature Symbolã使ç¨ãããç®æã«ã¤ããã¯ã©ã¹ãè¨è¿°ãã¾ãã
.lsf { font-family: 'LigatureSymbolFont'; -webkit-text-rendering: optimizeLegibility; -moz-text-rendering: optimizeLegibility; -ms-text-rendering: optimizeLegibility; -o-text-rendering: optimizeLegibility; text-rendering: optimizeLegibility; }
CSSã®text-renderingããããã£ã¯æååã®æç»å¦çã®æé©åã®ããã®ããããã£ã§ãï¼W3C SVG 1.1 - 11.7.4 The âtext-renderingâ propertyï¼ãtext-renderingããããã£ã«ã¯auto, optimizeSpeed, optimizeLegibility, geometricPrecision, inheritã¨ãã£ãå¤ãè¨å®ã§ãã¾ãããoptimizeLegibilityãã®å ´åã¯ãèªã¿ããããé度ãå¹¾ä½å¦çãªæ£ç¢ºããããåªå ããã¨ãªã£ã¦ãã¾ããWebkitç³»ã§ã¯ãã®æã«Ligatureãæå¹ã¨ãªãããã§ãã
ååã®ã¨ã³ããªã¼ã§è¨è¿°ãã¦ããOpentypeã®æ©è½ãæå¹ã«ããããããã£ã«é¢ãã¦ã¯ãä»»æã®ååã使ç¨ãã¦ããªãã®ã§ä»åã¯çãã¦ãã¾ãã
ããã¹ãå ±ã«è£ 飾çã«ä½¿ãå ´åã®CSS class
ãDownloadãã¨ããæåã®åã«è£ 飾çã«ã¢ã¤ã³ã³ã表示ãããå ´åãªã©ã«ä½¿ç¨ã§ããCSS classãç´¹ä»ãã¾ãã
<a href="#" class="lsf-icon" title="download">Download</a>
.lsf-icon:before { content:attr(title); margin-right:0.3em; font-size:130%; font-family: 'LigatureSymbolFont'; -webkit-text-rendering: optimizeLegibility; -moz-text-rendering: optimizeLegibility; -ms-text-rendering: optimizeLegibility; -o-text-rendering: optimizeLegibility; text-rendering: optimizeLegibility; }
ãã®ã³ã¼ãã¯ãlsf-iconãã¨ããã¯ã©ã¹ãã¤ããè¦ç´ ã®åã«ã¢ã¤ã³ã³ã表示ããã¨ãããã®ã§ãã:beforeæ¬ä¼¼è¦ç´ ã¨contentããããã£ã使ã£ã¦æåã追å ãã¦ãã¾ããã¾ãcontentããããã£ã¯titleå±æ§ãèªãããã«ãããã¨ã§ãã£ããããCSSã«ã§ãã¾ãã
ã¢ã¤ã³ã³ãæåããå°ã大ãã表示ããããæåã¨ã®éã«ãã¼ã¸ã³ãè¨ãããªã©ã®Styleãæ¸ãã¦ãã¾ãã
Ligature Symbolsã®ç¹å¾´ã¨æå¹æ§ã«ã¤ãã¦
é«è§£å度åãã¦ããè¿å¹´ã®PC/Mobileç°å¢ã§ãããããã«ãã£ã¦è§£å度ã®ã°ãã¤ããWebDesignerã®æ©ã¿ã®ã¿ãã®ä¸ã¤ã§ãããã¨ã¯ééããªãã¨æãã¾ããå¤ãã®ãã£ã¹ãã¬ã¤ç°å¢ã§ç»å表ç¾ãããã«ç¶ºéºã«è¡¨ç¤ºãããã¨ã¨ãã«ãã»ãã³ãã£ãã¯ãªWebã¨ããæµãã®æ³¢ãåæã«æ¼ãå¯ãã¦ãã¦ãWebDesignerã¯å¸¸ã«ãã®åé¡ã«æ©ã¾ããã¦ããã§ãããã
SVGãHTML5ã®Canvasã¨ãã£ããã®ããã®åé¡ã解決ãããã¨ãæããã¾ãããããããã®æè¡ããªããªãå®ç¨æ®µéã«ã¾ã§è¡ããªãã¨ãããããã¾ãï¼Canvasã¯ãã®è©±ã¨ã¡ãã£ã¨éãããããã¾ãããï¼ã
Ligature Symbolsã§ã¯ãããã®åé¡ããã¹ã¦è§£æ±ºãã¦ãããå¯è½æ§ãããã¾ããã¹ã±ã¼ã©ãã«ãªSymbolãã©ã³ãã使ç¨ãããã¨ã§è§£å度ã®åé¡ããLigatureæ©è½ã使ããã¨ã§ããã»ãã³ãã£ãã¯ãªWebã¨ããåé¡ã解決ãã¾ãã
ãããã£ãæ°æè¡ã§æ¸å¿µãããã®ã¯ãã¤ãIEã¨ãããã©ã¦ã¶ã¼ã®åå¨ã§ãããç§ãåã
ããè¨ã£ã¦ããããã«ãã¹ãã¼ããã©ã³ãã©ã¦ã¶ã¨ããæ ã«éãã°ãã®åé¡ãããéæ¾ããã¾ããããã¯æ±ºãã¦æªæ¥ã®æè¡ã§ã¯ãªãã¦ãä»ããã«ã§ã使ããç¾å®çãªæè¡ã ã¨ç§ã¯èãã¾ãã
ãèå³ã®ããæ¹ã¯ãã²ãã²Ligature Symbolsã使ã£ã¦ã¿ã¦ããææ³ãæè¦ãªã©ããã ããã
ä¸é¨ç°å¢ã§è¡¨ç¤ºããã¾ããããªã件ã«ã¤ãã¦
æ¬æ¥ï¼2012.7.20ï¼å
¬éããLigatureSymbolsã«ããã¦ãä¸é¨ã®ç°å¢ã§ChromeãSafariã§ãLigatureã表示ã§ããªãç¾è±¡ã確èªã§ãã¦ãã¾ããçºçæ¡ä»¶ãä¸ç¢ºå®ãªããããã«å¯¾å¿ãããã¨ã¯ã§ãã¾ããããåå 追æ±ã«åªãããã¨æãã¾ãã
çºçããäºä¾ãæ¡ä»¶ãªã©ãåãã£ãæ¹ãªã©ããã¾ããããã©ããªæ
å ±ã§ããé£çµ¡ããã ããã¨å¬ããã§ããã©ãããããããé¡ããããã¾ãã