๋ฌธ์ ์ค๋ช
์ต๊ทผ ์
๋ฐ์ดํธ๋ก ๊ธ๊ผด์ด ๋ชจ๋
ธ ๊ธ๊ผด๋ก ๊ตฌ์ฑ๋์ง ์์์ต๋๋ค. ์ผ๋ถ ๊ฐ๋ฐ ์ฑ์ Mono๋ก ์ธ์๋์ง ์์ต๋๋ค.
์คํฌ๋ฆฐ์ท
Microsoft SQL Server Management Studio์ ์ ํ๊ธฐ์ ๊ฐ ์ด๋ป๊ฒ ํ์๋๋์ง ํ์ธํ ์ ์์ต๋๋ค.
IBX Plex Mono์ ๋ํด ์ด ์ฑ์ด ํ์๋๋ ๋ฐฉ์์
๋๋ค.
ํ๊ฒฝ(๋ค์ ์ ๋ณด๋ฅผ ์์ฑํ์ญ์์ค):
#370๊ณผ ๋์ผํ ๊ฒ ๊ฐ์ต๋๋ค.
์๋ ค ์ค์ ๊ณ ๋ง์! ๋ฏธ์ํฉ๋๋ค.
ํ , 1.069์์ ์ถ๊ฐ๋ ์๋ก์ด ํฉ์ ๋๋ฌธ์ผ ์ ์์ต๋๋ค. ํ์ฌ ๋ค๋ฅธ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ณ ์์ง๋ง ๊ฐ๋ฅํ ํ ๋นจ๋ฆฌ ์ด ๋ฌธ์ ๋ฅผ ํ์ธํ๊ณ ๋ฉฐ์น ๋ด๋ก ์์ ํ๋๋ก ์ ๋ฐ์ดํธ๋ฅผ ์ ๊ณตํ ๊ฒ์ ๋๋ค.
๊ณ ๋ง์์, ํ๋ณตํ ํด์ผ ๋ณด๋ด์ธ์ ๐
์ข์ต๋๋ค. ์ด์ ๊ณผ ๊ฐ์ ๋ฌธ์ ์ธ ๊ฒ ๊ฐ์ต๋๋ค. ๋ฉํ๋ฐ์ดํฐ๋ ์ด๊ฒ์ ๊ณ ์ ํญ ๊ธ๊ผด๋ก ๋ถ๋ฅํ๋๋ก ์ค์ ๋์ด ์์ง ์์ต๋๋ค.
post
ํ
์ด๋ธ์์ ์ด๊ฒ์ 1
์ด์ด์ผ ํฉ๋๋ค.
<isFixedPitch value="0"/>
OS/2
์์ ์ด๊ฒ์ 600
์ด์ด์ผ ํฉ๋๋ค.
<xAvgCharWidth value="599"/>
OS/2
Panose ์์ฑ ๊ฐ์ ์ค์ ๋ก ์ ํํฉ๋๋ค.
<bProportion value="9"/>
hhea
๊ฐ์น advanceWidthMax
๋ํ ์ฌ๋ฐ๋ฅธ :
<advanceWidthMax value="600"/>
(๋ชจ๋ ธ ์ฒดํฌ์ ๋ค์ ๊ถ์ฅ ์ฌํญ์ ํฌํจํ๋ FontBakery๋ฟ๋ง ์๋๋ผ TTX์์๋ ์ด๋ฌํ ๊ฒฐ๊ณผ๋ฅผ ์ฐพ์์ต๋๋ค.)
com.google.fonts/check/monospace(ํ๋ํ๋ ค๋ฉด ํด๋ฆญ)
Requirements for monospace fonts:
* post.isFixedPitch - "Set to 0 if the font is proportionally spaced,
non-zero if the font is not proportionally spaced (monospaced)"
www.microsoft.com/typography/otspec/post.htm
* hhea.advanceWidthMax must be correct, meaning no glyph's width value is
greater.
www.microsoft.com/typography/otspec/hhea.htm
* OS/2.panose.bProportion must be set to 9 (monospace). Spec says: "The
PANOSE definition contains ten digits each of which currently describes
up to sixteen variations. Windows uses bFamilyType, bSerifStyle and
bProportion in the font mapper to determine family type. It also uses
bProportion to determine if the font is monospaced."
www.microsoft.com/typography/otspec/os2.htm#pan
monotypecom-test.monotype.de/services/pan2
* OS/2.xAvgCharWidth must be set accurately.
"OS/2.xAvgCharWidth is used when rendering monospaced fonts, at least
by Windows GDI"
http://typedrawers.com/discussion/comment/15397/#Comment_15397
Also we should report an error for glyphs not of average width.
Please also note:
Thomas Phinney told us that a few years ago (as of December 2019), if you
gave a font a monospace flag in Panose, Microsoft Word would ignore the
actual advance widths and treat it as monospaced. Source:
https://typedrawers.com/discussion/comment/45140/#Comment_45140
๊ธฐ๋ณธ์ ์ผ๋ก scripts/instantiate-code-fonts.py
์คํฌ๋ฆฝํธ์์ ์ฌ๋ฌ ์ค์ด ์คํจํ๊ณ (๋๋ ์ด๋ป๊ฒ๋ ๋ฎ์ด์ฐ๊ฒ ๋ ์๋ ์์) ๊ธฐ๋ณธ๊ฐ์ด ๋จ๊ฒ ๋ฉ๋๋ค. ์๋ง๋ ์ด๊ฒ์ ์ ๋ ฅ์ ๊ธ๋ฆฌํ๊ฐ ์ถ๊ฐ๋ ๋ ์ค๋จ๋ ๊ฒ์
๋๋ค ... ๊ทธ๋ฐ ๊ฒฝ์ฐ์ธ์ง ํ์ธํ๊ธฐ ์ํด ์คํฌ๋ฆฝํธ๋ฅผ ์๊ฒ ์ต๋๋ค.
์ข์, ๋๋ ๊ทธ๊ฒ์ (๋ค์) ์ ๋ ฌํ๋ค๊ณ ์๊ฐํ๋ค.
@javlaks ์ํ๋ค๋ฉด ๋ฆด๋ฆฌ์ค 1.070 ์ ๊ธ๊ผด์ ์ฌ์ฉํด ๋ณด๊ณ ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋๋์ง ์๋ ค์ฃผ์๊ฒ ์ต๋๊น?
๊ฒฐ๊ตญ Windows 10์ Microsoft SQL Server Management Studio์์ ๋ฒ์ 1.070์ ํ ์คํธํ์ผ๋ฉฐ ์์๋๋ก ์๋ํ๋ ๊ฒ ๊ฐ์ต๋๋ค.
@arrowtype ๋ฆด๋ฆฌ์ค zip์๋ Recursive_Code ๋ด๋ถ์ ํ์ ํด๋๋ ๊ธ๊ผด์ด ์๋ ๊ฒ ๊ฐ์ต๋๋ค.
๐คฆโโ๏ธ ํํ ์ฃ์กํฉ๋๋ค. ๋ด ์ชฝ์ ๋ฉ์ฒญํ ์ค์. @danarnold ํ ๋ฒ ๋ ํด๋ณด์๊ฒ ์ด์?
@arrowtype ๊ธ๊ผด์ด ๊ณ ์ ํญ์ผ๋ก ํ์๋ฉ๋๋ค! ์ด ๋ฌธ์ ๊ฐ ์๋ ์ด๋ ธ์ ๋ ์ฌ์ฉํ ์ํํธ์จ์ด๊ฐ ์๊ธฐ ๋๋ฌธ์ @javlaks ์์ ์ด์ ๋ํด ์ธ๊ธํด์ผ ํฉ๋๋ค.
์๋
ํ์ธ์, ๊ธ๊ผด์ด ๋ค์ ์ ์๋ํฉ๋๋ค. ์ฑ์ด ์์๋๋ก ๊ธ๊ผด์ ์ธ์ํฉ๋๋ค.
@arrowtype ๊ฐ์ฌํฉ๋๋ค ๐
์ฐ! @javlaks & danarnold ๋ณด๊ณ ๋ฐ ํ์ธ์ ๋์์ ์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค.