fontpkg-nanum-square
v1.0.0
Published
Font package for Nanum Square (나눔스퀘어), including Light/Regular/Bold/ExtraBold and NanumSquare_ac weights
Maintainers
Readme
Nanum Square (나눔스퀘어)
fontpkg-nanum-square packages the official Nanum Square TrueType fonts from
NAVER, including Light / Regular / Bold / ExtraBold and the companion
NanumSquare_ac weights.
| Property | Value |
|----------|-------|
| Package | fontpkg-nanum-square |
| Display name | Nanum Square (나눔스퀘어) |
| Font version | Version 1.000 |
| Font file count | 8 |
| Total size | ~5.3 MiB |
| License | SIL Open Font License 1.1 |
This package is published as
fontpkg-nanum-squarerather than under the@fontpkgscope, following the naming approach used byfontpkg-yuniversusandfontpkg-jigmo.
Included fonts
| File | Preferred family | Weight | PostScript name | Glyphs |
|------|------------------|--------|-----------------|-------:|
| NanumSquareL.ttf | NanumSquare | 300 Light | NanumSquareL | 18,155 |
| NanumSquareR.ttf | NanumSquare | 400 Regular | NanumSquareR | 18,155 |
| NanumSquareB.ttf | NanumSquare | 700 Bold | NanumSquareB | 18,155 |
| NanumSquareEB.ttf | NanumSquare | 800 ExtraBold | NanumSquareEB | 18,155 |
| NanumSquare_acL.ttf | NanumSquare_ac | 300 Light | NanumSquare_acL | 3,566 |
| NanumSquare_acR.ttf | NanumSquare_ac | 400 Regular | NanumSquare_acR | 3,566 |
| NanumSquare_acB.ttf | NanumSquare_ac | 700 Bold | NanumSquare_acB | 3,566 |
| NanumSquare_acEB.ttf | NanumSquare_ac | 800 ExtraBold | NanumSquare_acEB | 3,566 |
NanumSquare_ac is the official AC companion family packaged alongside classic
Nanum Square. It is Hangul/Latin-oriented and does not cover CJK unified
ideographs. Nanum Square Neo and Nanum Square Round are not included.
Install
npm i fontpkg-nanum-squareWeb
Import the package-relative font-face stylesheet through a bundler:
import "fontpkg-nanum-square/index.css";body {
font-family: "NanumSquare", sans-serif;
}
.light {
font-weight: 300;
}
.regular {
font-weight: 400;
}
.bold {
font-weight: 700;
}
.extra-bold {
font-weight: 800;
}
.ac {
font-family: "NanumSquare_ac", sans-serif;
}The .ttf files are also available directly, for example
fontpkg-nanum-square/NanumSquareR.ttf.
Expo / React Native
Load the assets before rendering text. The useFonts keys become the
fontFamily values:
import { useFonts } from "expo-font";
import { Text } from "react-native";
export function NanumSquareSample() {
const [loaded, error] = useFonts({
NanumSquareL: require("fontpkg-nanum-square/NanumSquareL.ttf"),
NanumSquareR: require("fontpkg-nanum-square/NanumSquareR.ttf"),
NanumSquareB: require("fontpkg-nanum-square/NanumSquareB.ttf"),
NanumSquareEB: require("fontpkg-nanum-square/NanumSquareEB.ttf"),
});
if (error) throw error;
if (!loaded) return null;
return (
<>
<Text style={{ fontFamily: "NanumSquareL", fontSize: 24 }}>나눔스퀘어 Light</Text>
<Text style={{ fontFamily: "NanumSquareR", fontSize: 24 }}>나눔스퀘어 Regular</Text>
<Text style={{ fontFamily: "NanumSquareB", fontSize: 24 }}>나눔스퀘어 Bold</Text>
<Text style={{ fontFamily: "NanumSquareEB", fontSize: 24 }}>나눔스퀘어 ExtraBold</Text>
</>
);
}Provenance
Unmodified copies from NAVER's nanum-all_new.zip distribution
(https://hangeul.naver.com/font), extracted from
NanumFontSetup_TTF_SQUARE/. See SOURCE.md for the pinned
archive URL, checksums, and name-table evidence.
Also catalogued on Noonnu as 나눔스퀘어 / Nanum Square.
License
Copyright © NAVER Corporation. Font designed by Sandoll Communications Inc.
Distributed under the SIL Open Font License, Version 1.1. See
LICENSE. Selling the font files by themselves is prohibited; they
may be bundled and redistributed with other software when this license is
included.
