![new gulim font new gulim font](https://i.pinimg.com/originals/ed/77/8c/ed778c49ed37dede16c397064f0b8766.jpg)
Common monospaced (fixed-width) fonts in this table are Consolas, Courier, Courier New, Fixedsys, Lucida Console and Terminal.
New gulim font windows#
The column "Exists Since" represents the first Windows version in which the font was included. Here's a snippet from wingdi.h for the CharSet values.Standard Windows Fonts | AutoHotkey Standard Windows Fontsįor use with the Progress, GUI, and SplashImage commands. TestEnumFontFamiliesEx: Gulim, bCharSet=1 TestEnumFontFamiliesEx: Arial, bCharSet=1 TestEnumFontFamiliesEx: ArialMT, bCharSet=1 TestEnumFontFamiliesEx: Times New Roman, bCharSet=1 TestEnumFontFamiliesEx: TimesNewRomanPSMT, bCharSet=1 Gulim = Gulim, bCharSet=1, HFONT=0xde0a117c
![new gulim font new gulim font](https://statics.fontke.com/image/image/753708/360x270.png)
![new gulim font new gulim font](https://i.imgur.com/EerR0Nq.png)
Times New Roman = Times New Roman, bCharSet=1, HFONT=0xdb0a117cĪrialMT = ArialMT, bCharSet=1, HFONT=0xdc0a117cĪrial = Arial, bCharSet=1, HFONT=0xdd0a117c TimesNewRomanPSMT = TimesNewRomanPSMT, bCharSet=1, HFONT=0xda0a117c TestEnumFontFamiliesEx(_T("굴림"), DEFAULT_CHARSET) Īnd here are the results: TestCreateFont: TestEnumFontFamiliesEx(_T("Gulim"), DEFAULT_CHARSET) TestEnumFontFamiliesEx(_T("Arial"), DEFAULT_CHARSET) TestEnumFontFamiliesEx(_T("ArialMT"), DEFAULT_CHARSET) TestEnumFontFamiliesEx(_T("Times New Roman"), DEFAULT_CHARSET) TestEnumFontFamiliesEx(_T("TimesNewRomanPSMT"), DEFAULT_CHARSET) TestCreateFont(_T("굴림"), DEFAULT_CHARSET) TestCreateFont(_T("Gulim"), DEFAULT_CHARSET) TestCreateFont(_T("Arial"), DEFAULT_CHARSET) TestCreateFont(_T("ArialMT"), DEFAULT_CHARSET) TestCreateFont(_T("Times New Roman"), DEFAULT_CHARSET) TestCreateFont(_T("TimesNewRomanPSMT"), DEFAULT_CHARSET) ::EnumFontFamiliesEx(hdcAll, &lf, &MyEnumFontFamExProc, 0, 0) _tprintf_s(_T("TestEnumFontFamiliesEx: %.32s, bCharSet=%d\r\n"), lpczFontName, bCharSet) Lf.lfPitchAndFamily = DEFAULT_PITCH // NOTE: DEFAULT_PITCH = 0, WinGdi.h Void TestEnumFontFamiliesEx(LPCTSTR lpczFontName, BYTE bCharSet) _tprintf_s(_T(" Found: %.32s, bCharSet=%d\r\n"), lpelfe->lfFaceName, lpelfe->lfCharSet) Int CALLBACK MyEnumFontFamExProc(const LOGFONT *lpelfe, const TEXTMETRIC *lpntme, DWORD FontType, LPARAM lParam) _tprintf_s(_T("TestCreateFont:\r\n%.32s = %.32s, bCharSet=%d, HFONT=0x%8.8x\r\n\r\n"), lpczFontName, lf.lfFaceName, bCharSet, hf) _tcsncpy_s(lf.lfFaceName, 32, lpczFontName, _tcsnlen(lpczFontName, 32)) Lf.lfClipPrecision = CLIP_DEFAULT_PRECIS Void TestCreateFont(LPCTSTR lpczFontName, BYTE bCharSet) For some fonts the results may depending on the graphics mode setting (see SetGraphicsMode() / GM_ADVANCED).ĬreateFontIndirect function (Windows) MSDNĮnumFontFamiliesEx function (Windows) MSDNĮnumFontFamExProc callback function (Windows) MSDN #include "stdafx.h" We get the same results as the C#, but without substitutions. To see whether we can get an unsubstituted match, we should use EnumFontFamiliesEx() to scan the available system font list. When running this sample, I never got an empty handle, even for PostScript names. One thing to note is that CreateFontIndirect() is subject to substitution. Here's the output: TimesNewRomanPSMT = Microsoft Sans Serif This indicates that the PostScript name can't be used reliably to reference the same font. Unfortunately we've butted heads with Font substitution, as "Microsoft Sans Serif" is definitely not Times New Roman nor Arial. using System.Drawing įont TimesNewRomanByPSName = new Font("TimesNewRomanPSMT", 16f) Ĭonsole.WriteLine("TimesNewRomanPSMT = ", GulimByKoreanName.Name) However, using the localized name (as retrieved from Mark Ransom's link in his comment) does work. I checked to see whether the PostScript name can be used to instantiate a font, and unfortunately it doesn't work. The Naming Table (OpenType Spec 1.6) Microsoft Typographyįor PostScript Type 1 fonts, you can locate the assigned names by their FontName declarations. Font names are localized if the font creator chooses to publish metadata for a specific locale, but all fonts have a system-known name, usually the PostScript name, that ensures that the same font can be referenced and retrieved with a reasonable amount of reliability.įor OpenType and TrueType fonts, you can find localized names in the name record of an OpenType file.