Source-Han-TrueType
TrueType version of Source Han Sans, Source Han Serif and Source Han Mono
Top Related Projects
Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조
Noto CJK fonts
Noto fonts, except for CJK and emoji
Sarasa Gothic / 更纱黑体 / 更紗黑體 / 更紗ゴシック / 사라사 고딕
Quick Overview
The Pal3love/Source-Han-TrueType repository contains a collection of TrueType font files for the Source Han Sans and Source Han Serif typefaces. These fonts are based on the open-source CJK (Chinese, Japanese, and Korean) font project, providing high-quality typographic options for users working with East Asian languages.
Pros
- Comprehensive Language Support: The fonts cover a wide range of CJK characters, making them suitable for a variety of East Asian language applications.
- Open-Source Licensing: The fonts are released under the SIL Open Font License, allowing for free use, modification, and distribution.
- High-Quality Rendering: The TrueType format ensures smooth font rendering across different platforms and applications.
- Active Maintenance: The repository is actively maintained, with regular updates and improvements to the font files.
Cons
- Limited Customization: As a font collection, the project does not provide tools for customizing or modifying the font files directly.
- No Specific Features: The repository does not offer any additional features beyond the font files themselves, such as font management tools or integration with design software.
- Lack of Documentation: The project's documentation is relatively sparse, which may make it challenging for users to get started or troubleshoot issues.
- No Versioning: The repository does not provide clear version information for the font files, which can make it difficult to track changes or ensure compatibility.
Getting Started
To use the fonts from the Pal3love/Source-Han-TrueType repository, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/Pal3love/Source-Han-TrueType.git
- Navigate to the cloned repository:
cd Source-Han-TrueType
-
Locate the font files you need, which are organized by font family and weight. For example, to use the Source Han Sans Regular font, you would find the file
SourceHanSans-Regular.ttf
in theSourceHanSans
directory. -
Install the font files on your operating system. The process for installing fonts varies depending on your platform, but typically involves double-clicking the font file or using a font management application.
-
Once the fonts are installed, you can use them in your applications, such as word processors, design software, or web browsers, by selecting the appropriate font from the available options.
Competitor Comparisons
Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Pros of Source-Han-Sans
- Official Adobe repository with regular updates and maintenance
- Comprehensive CJK (Chinese, Japanese, Korean) font coverage
- Available in multiple weights and styles
Cons of Source-Han-Sans
- Large file size due to extensive character set
- May require more system resources when rendering
Code Comparison
Source-Han-Sans:
<font-face font-family="Source Han Sans" font-weight="400" font-style="normal">
<font-face-src>
<font-face-name name="SourceHanSans-Regular"/>
</font-face-src>
</font-face>
Source-Han-TrueType:
<font-face font-family="Source Han Sans TrueType" font-weight="400" font-style="normal">
<font-face-src>
<font-face-name name="SourceHanSansTrueType-Regular"/>
</font-face-src>
</font-face>
Key Differences
- Source-Han-Sans is the official Adobe repository, while Source-Han-TrueType is a community-driven project
- Source-Han-TrueType focuses on providing TrueType versions of the font, which may have better compatibility with certain systems
- Source-Han-Sans offers a wider range of weights and styles compared to Source-Han-TrueType
- Source-Han-TrueType may have smaller file sizes, making it more suitable for web use or systems with limited resources
Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조
Pros of Source-Han-Serif
- Official Adobe repository for the Source Han Serif font family
- Comprehensive CJK (Chinese, Japanese, Korean) character support
- Regular updates and maintenance from Adobe
Cons of Source-Han-Serif
- Large file size due to extensive character set
- May require more system resources when rendering
Code Comparison
Source-Han-TrueType:
# No relevant code available for comparison
Source-Han-Serif:
# Example of font usage in CSS
body {
font-family: 'Source Han Serif', serif;
}
Summary
Source-Han-Serif is Adobe's official repository for the Source Han Serif font family, offering comprehensive CJK character support and regular updates. However, it comes with larger file sizes and potentially higher resource requirements. Source-Han-TrueType, on the other hand, is a third-party project that may offer optimized TrueType versions of the font, potentially with smaller file sizes but possibly lacking the latest updates or full character support of the official Adobe repository.
Noto CJK fonts
Pros of Noto CJK
- Broader language support, covering Chinese, Japanese, Korean, and other CJK scripts
- Regularly updated and maintained by Google, ensuring ongoing improvements and bug fixes
- Extensive documentation and usage guidelines available
Cons of Noto CJK
- Larger file sizes due to comprehensive character coverage
- May require more system resources when rendering complex scripts
- Less focused on specific optimizations for TrueType hinting
Code Comparison
While both repositories primarily contain font files rather than code, here's a comparison of their directory structures:
Source-Han-TrueType:
/OTF
/TTF
/Subset
README.md
Noto CJK:
/Sans
/Serif
/Mono
/Variable
/Tools
README.md
Source-Han-TrueType focuses on providing TrueType versions of the Source Han fonts, with a simpler directory structure. Noto CJK offers a more diverse range of font styles and includes tools for font manipulation.
Both projects aim to improve CJK font rendering and accessibility, but they take different approaches. Source-Han-TrueType specializes in optimizing TrueType hinting for Source Han fonts, while Noto CJK provides a comprehensive set of fonts for various CJK scripts and styles.
Noto fonts, except for CJK and emoji
Pros of noto-fonts
- Comprehensive coverage of Unicode scripts and languages
- Regular updates and maintenance by Google
- Extensive documentation and community support
Cons of noto-fonts
- Larger file sizes due to comprehensive character sets
- May require more system resources for rendering
Code comparison
While both repositories primarily contain font files rather than code, here's a comparison of their directory structures:
noto-fonts:
noto-fonts/
├── hinted/
├── unhinted/
├── alpha/
└── src/
Source-Han-TrueType:
Source-Han-TrueType/
├── OTC/
├── OTF/
└── Subset/
noto-fonts has a more complex structure, separating hinted and unhinted fonts, while Source-Han-TrueType focuses on different font formats and subsets.
Summary
noto-fonts offers a wider range of scripts and languages, with regular updates and strong community support. However, it may have larger file sizes and higher resource requirements. Source-Han-TrueType provides a more focused selection of CJK fonts in various formats, potentially offering smaller file sizes for specific use cases.
Sarasa Gothic / 更纱黑体 / 更紗黑體 / 更紗ゴシック / 사라사 고딕
Pros of Sarasa-Gothic
- Supports multiple languages and writing systems, including Latin, Greek, Cyrillic, and CJK
- Offers multiple weights and styles, providing more design flexibility
- Includes programming-specific ligatures and features for improved readability in code editors
Cons of Sarasa-Gothic
- Larger file size due to extensive character coverage and multiple styles
- May require more system resources to render complex glyphs
- Less focused on optimizing specifically for CJK characters
Code Comparison
While both projects are font-related, they don't contain directly comparable code. However, here's an example of how they might be used in CSS:
Source-Han-TrueType:
@font-face {
font-family: 'Source Han Sans';
src: url('SourceHanSans-Regular.ttf') format('truetype');
}
Sarasa-Gothic:
@font-face {
font-family: 'Sarasa Gothic';
src: url('sarasa-gothic-regular.ttf') format('truetype');
}
Both fonts can be applied to elements using standard CSS font properties.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
ææº TrueType
ææºé»ä½ãææºå®ä½åææºç宽ç TrueType çæ¬
ææºé»ä½ãææºå®ä½ä»¥åææºç宽æ¯ç± Adobe 主导å¼åç弿ºåè·¨ä¸æ¥é©å°åºçå¤è¯è¨åä½ãè¿äºåä½ç OpenType/CFF æä»¶ä»¥å CID æºæä»¶åç± [SIL 弿ºåä½åè®®(http://scripts.sil.org/OFL) ææï¼å¦è¯·åé 常è§é®é¢ï¼ã
æ¬é¡¹ç®å¨å®æ´ä¿çæ²çº¿ç²¾åº¦ã尺寸ååè½çåæä¸ï¼æä¾ææºææåä½ç **TrueType çæ¬**ãTrueType æ ¼å¼å¨ Microsoft WindowsãMicrosoft Office 以åå端é¢åçå ¼å®¹æ§è¦ä¼äº OpenType/CFF (OTF) æ ¼å¼ãæ¬é¡¹ç®æä¾çææ TrueType åä½åå¯ä¸ææº OTF åçæ ç¼æ¿æ¢ï¼æ éè¿å·¥ä¿®è®¢è®¾è®¡æç¨¿ã
é宿¹çæ¬
è½ç¶æ¬é¡¹ç®å¨åä½è®¾è®¡ååè½æ§ä¸ä¸ OTF åçä¿æä¸è´ï¼ä½éè¦æåºï¼æ¤é¡¹ç®å¹¶éç± Adobe 宿¹åå¸ãæ¬é¡¹ç®éµå¾ª SIL 弿ºåä½åè®®ï¼å¯å è´¹ç¨äºåä¸ç¨éã
ä¸è½½ä¸å®è£
请åå¾åå¸é¡µé¢ä¸è½½ææ°çæ¬çå缩å ï¼è§£ååå³å¯å¾å° TTF/TTC å使件ãå½å页é¢çâCodeâæé®ä» å å«è½¬æ¢æéç代ç åæºæä»¶ï¼ä¸å å« TrueType åä½ã
- macOS
- Linux
- Windows
- Windows ç¨æ·è¯·æ³¨æï¼ä» Windows 10 1809 å¼å§ï¼Windows ä¼å°å使件é»è®¤å®è£ å°ç¨æ·æä»¶å¤¹ä¸ï¼è¯¥è¡ä¸ºå¯è½ä¼å¯¼è´ä¸é¨å软件æ¾ä¸å°åä½ã建议å¨å使件ä¸åå»å³é®ï¼éæ©â为ææç¨æ·å®è£ âï¼ä»¥å ¨å±å®è£ ã
ææ¯è§æ ¼
- OpenType åè½ï¼ç«ææ¯æçï¼ï¼å®æ´æ¶å½
- Microsoft Office Style-Linkï¼å ç²æé®ï¼Bï¼é¾æ¥å¸¸è§ä¸ç²ä½åé
- **Microsoft Office åä½åµå ¥**ï¼æ¯æ WordãExcelãPowerPoint ç软件çåä½åµå ¥åè½
- å°è£ æ ¼å¼ï¼å®æ´ç为 TrueType Collection (TTC)ï¼åéç为 TrueType (TTF)
- æ²çº¿æ ¼å¼ï¼äºæ¬¡è´å¡å°æ²çº¿
- æ²çº¿ç²¾åº¦ï¼UPMï¼ï¼2048ï¼å³åç OpenType/CFF 䏿¬¡æ²çº¿çæ æè½¬æ¢
- **屿¾æ¸²æçç¥**ï¼å ¨åå·äºåç´ æé¯é½¿ï¼Windows 10 åæ´æ°çæ¬ï¼
å¯åçæ¬
Adobe 宿¹å·²æä¾ææºé»ä½åææºå®ä½çå¯åç TrueType å使件ï¼è¯·åå¾ä»¥ä¸åå¸é¡µé¢ä¸è½½ã
Adobe 软件çè¡é«è¿å¤§é®é¢
Adobe 软件ï¼å¦ PhotoshopãIllustrator çï¼çè¡é«è¿å¤§é®é¢æ¯ç± OTF åçåä½ä¸çâ3 em vertical dashâå符æå¯¼è´çãææºåä½çå ¨å±åæ¡ä¸ºäºå®¹çº³è¯¥å符èæå¾å¾é«ãæ¬é¡¹ç®ä¸ææº OTF åççææåè½ä¿æå®å ¨ä¸è´ï¼å èä¸ä¼ä¿®æ¹è¯¥è®¾è®¡ã**å¦éä¿®æ£è¡é«ççæ¬ï¼è¯·å徿¢¦æºåä½ç³»å**ã该系åé¤ä¿®æ£è¡é«ä¹å¤ï¼æ´æä¾äºå¤è¾¾ 27 个åéç丰å¯éæ©ã
ç¼è¯
å¦é卿¬å°å®æè½¬æ¢è¿ç¨ï¼è¯·åè以䏿åã
硬ç空é´
èæ¬å°çæçº¦ 5 GB ä¸´æ¶æä»¶ï¼å 䏿ç»ç ZIP å缩å å ±è®¡çº¦ 6 GB æ»ç¡¬ç空é´ãä¸´æ¶æä»¶å°å¨è¿è¡ç»ææ¶èªå¨å é¤ã
å¹³å°ä¾èµ
æ¬é¡¹ç®æ¯æ Windows Linux åç³»ç»ï¼WSLï¼ãLinux x86-64ï¼å¸¦æ Wineï¼ä¸ macOS å¹³å°ã请å ç¡®ä¿ä»¥ä¸ä¾èµå·²å®è£ ï¼
- Python 3.8 å以ä¸
- PyPI å
管çï¼
pip
ï¼ pip install afdko
: Adobe Font Development Kit for OpenType (AFDKO)- 使ç¨å
管çå¨å®è£
zip
ï¼å¦sudo apt install zip
ï¼ä» ä¾ WSL å Linuxï¼macOS å·²èªå¸¦ï¼
OTF æºæä»¶
为è约ä½ç§¯ï¼æ¬ä»åºä¸èªå¸¦åçææº OTF å使件ã请åå¾å®æ¹ä»åºä¸è½½ OTF åä½å¹¶å嫿¾å¨ source ç®å½å çä¸ä¸ªåç®å½å ï¼
- è¯·å°ææºçå®½çææ OTF æä»¶æ¾å¨ source-han-mono ç®å½å ï¼
- è¯·å°ææºé»ä½çææ OTF æä»¶æ¾å¨ source-han-sans ç®å½å ï¼
- è¯·å°ææºå®ä½çææ OTF æä»¶æ¾å¨ source-han-serif ç®å½å ã
æ§è¡èæ¬
- WSL:
cd
è¿ script ç®å½åï¼æ§è¡./build_ttfs.sh wsl <æå¤§å¹¶è¡æ°>
- Linux:
cd
è¿ script ç®å½åï¼æ§è¡./build_ttfs.sh linux <æå¤§å¹¶è¡æ°>
- macOS:
cd
è¿ script ç®å½åï¼æ§è¡./build_ttfs.sh mac <æå¤§å¹¶è¡æ°>
- å ¶ä¸ï¼**æå¤§å¹¶è¡æ°**å³å®æå¤å¹¶è¡å¤ççå使°éãæ¯ä¸ªåä½å ç¨çº¦ 1.5 CPU 线ç¨åæå¤ 600 MB å åï¼è¯·æ ¹æ®èªå·±ççµèé ç½®é æ éæ©ãè¬å¦ï¼AMD Ryzen 9 3950X å¯å°æ¤åæ°è®¾ä¸º 28ï¼å¨å åè¶³å¤çæ åµä¸ï¼å¯è¾¾ 97% CPU 使ç¨çã
- èæ¬è¿è¡å®æåï¼æç»åä½ç ZIP å缩å å°ä½äºæ ¹ç®å½ä¸æ°å建ç release ç®å½å ãè¿è¡è¿ç¨ä¸äº§ççä¸´æ¶æä»¶å°ä¼å¨ç»ææ¶èªå¨å é¤ã
æ´å¤ä¿¡æ¯
å¦éè·å Adobe ææºç³»ååä½ç设计ã使ç¨ä»¥åå ¶ä»ä¿¡æ¯ï¼è¯·è®¿é®ä»¥ä¸å®æ¹ GitHub ä»åºï¼
Top Related Projects
Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조
Noto CJK fonts
Noto fonts, except for CJK and emoji
Sarasa Gothic / 更纱黑体 / 更紗黑體 / 更紗ゴシック / 사라사 고딕
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot