่ชญ่€…ใงใ™ ่ชญ่€…ใ‚’ใ‚„ใ‚ใ‚‹ ่ชญ่€…ใซใชใ‚‹ ่ชญ่€…ใซใชใ‚‹

Fira Mono ใจ M+ FONTS ใ‚’ๅˆๆˆใ—ใฆ็ญ‰ๅน…ๅ’Œๆ–‡ใƒ•ใ‚ฉใƒณใƒˆใ‚’ไฝœใ‚‹ (2ๅ›ž็›ฎ)

Mac OS X FontForge

FontForge

Fira Mono ใจ M+ FONTS ใ‚’ๅˆๆˆใ—ใฆ็ญ‰ๅน…ๅ’Œๆ–‡ใƒ•ใ‚ฉใƒณใƒˆใ‚’ไฝœใ‚‹ (2ๅ›ž็›ฎ)


ๅ‰ๅ›žใ‹ใ‚‰่กŒ้–“ใ‚’ใกใ‚‡ใฃใจใ ใ‘ๅบƒใ’ใ€ใƒฌใ‚ฎใƒฅใƒฉใƒผใจใƒœใƒผใƒซใƒ‰ใ‚’ๅŒๆ™‚็”Ÿๆˆใ™ใ‚‹ใŸใ‚ใซใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚’2ใคใซๅˆ†ใ‘ใŸใ€‚FontForege ใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใฃใฆ็’ฐๅขƒๅค‰ๆ•ฐๆ‹พใˆใชใ„ใฎใ‹ใชโ€ฆใ€‚

#!/bin/sh -e

FONTFORGE=/opt/local/bin/fontforge
tempfile=`mktemp -t $$`.pe
trap "rm $tempfile" EXIT

set -- Regular Bold

for f
{
    case $f in
    Regular) weight_jp="ใƒฌใ‚ฎใƒฅใƒฉใƒผ" ;;
    Bold   ) weight_jp="ใƒœใƒผใƒซใƒ‰"   ;;
    esac

    sed -f /dev/fd/0 $HOME/share/fontforge/firaplus.pe.in >$tempfile <<!
/@HOME@/s||$HOME|g
/@WEIGHT@/s||$f|g
/@WEIGHT_JP@/s||$weight_jp|g
!

    $FONTFORGE -script $tempfile
}
width  = 1100
margin = 0

WinAscent    = 785  + margin
WinDescent   = 215  + margin
HHeadAscent  = 785  + margin
HHeadDescent = -215 - margin
TypoLineGap  = 100
HHeadLineGap = 100

fira = "/usr/local/src/repos/Fira/otf/FiraMono-@WEIGHT@.otf"
mx   = "/usr/local/src/repos/mplus_outline_fonts/work.d/targets/mplus-\
2m/@WEIGHT@/mplus-2m-@WEIGHT@.ttf"

Open(mx)
SelectWorthOutputting()
Scale(90)
SetWidth(width)
if (width >= 1001)
    SetLBearing((width - 1000)/2,1)
endif
SetOS2Value("WinAscent",    WinAscent)
SetOS2Value("WinDescent",   WinDescent)
SetOS2Value("HHeadAscent",  HHeadAscent)
SetOS2Value("HHeadDescent", HHeadDescent)
SetOS2Value("TypoLineGap",  TypoLineGap)
SetOS2Value("HHeadLineGap", HHeadLineGap)

Open(fira)
SetUniqueID(0)
SelectWorthOutputting()
SetWidth(width/2)
if (width >= 1001)
    SetLBearing(((width - 1000)/2)/2,1)
endif
SetOS2Value("WinAscent",    WinAscent)
SetOS2Value("WinDescent",   WinDescent)
SetOS2Value("HHeadAscent",  HHeadAscent)
SetOS2Value("HHeadDescent", HHeadDescent)
SetOS2Value("TypoLineGap",  TypoLineGap)
SetOS2Value("HHeadLineGap", HHeadLineGap)
MergeFonts(mx)
SetFontNames("FiraPlus-@WEIGHT@", \
             "Fira Plus", \
             "Fira Plus")
SetTTFName(0x409, 1, "Fira Plus")
SetTTFName(0x409, 2, "@WEIGHT@")
SetTTFName(0x409, 4, "Fira Plus")
SetTTFName(0x411, 1, "Fira Plus")
SetTTFName(0x411, 2, "@WEIGHT_JP@")
SetTTFName(0x411, 4, "Fira Plus")
Generate("@HOME@/Library/Fonts/" + $fontname + ".otf", "")

Quit(0)

ใ‚ฟใƒผใƒŸใƒŠใƒซใƒ—ใƒฌใƒ“ใƒฅ

Fira Plus ใฏใ‚ฐใƒชใƒ•ๅน… 550/1100 ใง M+ FONTS ใฎๅˆ†ใ‚’ Fira Mono ใซๅˆใ‚ใ›ใ‚‹ใŸใ‚ใซใ‚นใ‚ฑใƒผใƒซ 90%ใ€‚ใ“ใ†ใ—ใฆใฟใ‚‹ใจใฉใฃใกใซๅˆใ‚ใ›ใ‚‹ใ‹ใพใŸๆ‚ฉใ‚€โ€ฆใ€‚

Fira Plus

Firefox HTML ใ‚ฝใƒผใ‚นใƒ“ใƒฅใƒผใ‚ขใƒ—ใƒฌใƒ“ใƒฅ

Fira Plus M+ 2m Regular
Fira Plus
M+ 2m Regular

ใ‚ฆใ‚งใ‚คใƒˆใŒๅค‰ใ‚ใฃใฆใ‚‚ๅน…ใฎๅค‰ๅ‹•ใŒๅฐ‘ใชใ„ DejaVu Sans Mono

Fira Mono ใจ M+ FONTS ใ‚’ๅˆๆˆใ—ใฆใฟใฆใ€่‹ฑ่ชžใจๆ—ฅๆœฌ่ชžใฎใƒใƒฉใƒณใ‚นใฏใ‚ˆใใชใฃใŸใ‚‚ใฎใฎ่‹ฑ่ชž้ƒจๅˆ†ใŒ DejaVu Sans Mono ใจๆฏ”ในใ‚‹ใจใ‚„ใฃใฑใ‚Šใชใ‚“ใ ใ‹่ฆ‹ใฅใ‚‰ใ„ใ€‚ๆ—ฅๆœฌ่ชžใซๅˆใ‚ใ›ใ‚‹ใŸใ‚ใซ Fira Mono ใฎไธกใ‚ตใ‚คใƒ‰ใƒ™ใ‚ขใƒชใƒณใ‚ฐใ‚’ๅ‰Šใฃใฆใ‚‹ใ›ใ„ใ‚‚ใ‚ใฃใฆใƒœใƒผใƒซใƒ‰ใซใ™ใ‚‹ใจใ‹ใชใ‚Šใ‚ญใƒ„ใ‚ญใƒ„ใชๆ„Ÿใ˜ใ€‚DejaVu Sans ใฎใจใใฏใ‚ใพใ‚Šใ“ใ†ใ„ใ†ๅฐ่ฑกใŒใชใ‹ใฃใŸใ‚“ใ ใ‘ใฉไฝ•ใงใ ๏ผŸใจๆ€ใฃใฆ Font Book ใ‚’็œบใ‚ใฆใ„ใŸใ‚‰ DejaVu Sans Mono ใฏใƒœใƒผใƒซใƒ‰ๆ™‚ใซๅ†…ๅดใซๅคชใใชใ‚‹ใฎใงใƒฌใ‚ฎใƒฅใƒฉใƒผใจใƒœใƒผใƒซใƒ‰ใฎๆ–‡ๅญ—ๅน…ใฎๅค‰ๅ‹•ใŒๅฐ‘ใชใ„ใ“ใจใซๆฐ—ใฅใ„ใŸใ€‚

้ป’ใฏใƒฌใ‚ฎใƒฅใƒฉใƒผใฎใƒฉใ‚คใƒณใ€่ตคใฏใƒœใƒผใƒซใƒ‰ใฎใƒฉใ‚คใƒณใ€‚V ใจ W ใฎ้–“ใชใ‚“ใ‹ใ‚’่ฆ‹ใฆใฟใ‚‹ใจใ‚ใ‹ใ‚Šใ‚„ใ™ใ„ใ€‚

Fira Mono

Fira Mono

DejaVu Sans Mono

DejaVu Sans Mono


ๆœ€ๅˆใ‹ใ‚‰ DejaVu Sans Mono ใจ M+ FONTS ใ‚’ๅˆใ‚ใ›ใ‚Œใฐใ‚ˆใ‹ใฃใŸใฎใงใฏใชใ„ใ‹โ€ฆใ€‚