Convert Figma logo to code with AI

adobe-fonts logosource-han-serif

Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조

8,129
645
8,129
62

Top Related Projects

Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕

Noto CJK fonts

Noto fonts, except for CJK and emoji

Monospaced font family for user interface and coding environments

Quick Overview

Source Han Serif is an open-source Pan-CJK typeface family developed by Adobe in collaboration with Google. It supports Japanese, Korean, Traditional Chinese, and Simplified Chinese, providing a comprehensive and harmonious design across these East Asian writing systems. The typeface is designed to work seamlessly in both print and digital environments.

Pros

  • Extensive language support for East Asian writing systems
  • High-quality, professional design from Adobe and Google
  • Open-source and freely available for commercial and personal use
  • Multiple weights and styles for versatile typography

Cons

  • Large file size due to comprehensive character set
  • May require additional configuration for optimal display in some applications
  • Limited to serif style, lacking sans-serif or other variations
  • Potential performance impact when used in web applications due to file size

Getting Started

As Source Han Serif is a font family and not a code library, there are no code examples or quick start instructions. To use the font:

  1. Download the font files from the GitHub repository.
  2. Install the fonts on your system or include them in your project.
  3. Use the font in your design software, word processor, or web projects by specifying "Source Han Serif" as the font family.

For web use, you can include the font using CSS:

@font-face {
  font-family: 'Source Han Serif';
  src: url('path/to/SourceHanSerif-Regular.otf') format('opentype');
}

body {
  font-family: 'Source Han Serif', serif;
}

Note that you may need to adjust the path and file name based on your specific setup and which weight/style you're using.

Competitor Comparisons

Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕

Pros of Source Han Sans

  • More suitable for digital displays and user interfaces
  • Offers a cleaner, more modern aesthetic
  • Generally better readability at smaller sizes

Cons of Source Han Sans

  • Less formal and traditional appearance
  • May not be as suitable for long-form text or print materials
  • Lacks some of the nuanced details found in serif typefaces

Code comparison

While these are font repositories and don't contain typical code, we can compare how they might be used in CSS:

Source Han Sans:

body {
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 400;
}

Source Han Serif:

body {
  font-family: 'Source Han Serif', serif;
  font-weight: 400;
}

Both repositories provide extensive CJK (Chinese, Japanese, Korean) language support and are part of Adobe's open-source font initiative. They offer multiple weights and regional variants, making them versatile choices for multilingual typography. The main difference lies in their intended use cases and aesthetic qualities, with Source Han Sans being more contemporary and Source Han Serif offering a more traditional look.

Noto CJK fonts

Pros of Noto CJK

  • Broader language support, including Vietnamese
  • More frequent updates and maintenance
  • Larger community and wider adoption

Cons of Noto CJK

  • Slightly larger file sizes
  • Less extensive documentation compared to Source Han Serif
  • Fewer stylistic variants available

Code Comparison

Source Han Serif:

@font-face {
  font-family: 'Source Han Serif';
  src: url('SourceHanSerif-Regular.otf') format('opentype');
}

Noto CJK:

@font-face {
  font-family: 'Noto Sans CJK';
  src: url('NotoSansCJK-Regular.otf') format('opentype');
}

Both repositories provide high-quality CJK (Chinese, Japanese, Korean) fonts, but they have some differences. Source Han Serif focuses on a serif typeface with extensive documentation and stylistic options. Noto CJK offers a broader range of languages and receives more frequent updates. The code usage is similar for both, with the main difference being the font family name. Ultimately, the choice between the two depends on specific project requirements and personal preferences.

Noto fonts, except for CJK and emoji

Pros of Noto Fonts

  • Broader language coverage, supporting over 1,000 languages
  • More frequent updates and additions to the font family
  • Includes both serif and sans-serif variants for many scripts

Cons of Noto Fonts

  • Less specialized for East Asian languages compared to Source Han Serif
  • May have inconsistencies across different scripts due to its broad scope
  • Larger file sizes for comprehensive language support

Code Comparison

While both repositories primarily contain font files rather than code, here's a comparison of their directory structures:

Source Han Serif:

/OTF
/OTC
/SubsetOTF
/Resources

Noto Fonts:

/hinted
/unhinted
/alpha
/qa
/src

Source Han Serif focuses on organizing fonts by format and subset, while Noto Fonts categorizes by hinting status and development stage. Noto Fonts also includes a src directory for source files, indicating a more open development process.

Both projects use open-source licenses, with Source Han Serif using the SIL Open Font License and Noto Fonts using the Apache License 2.0. This allows for free use, modification, and distribution of the fonts in both cases.

Monospaced font family for user interface and coding environments

Pros of Source Code Pro

  • Specialized for coding with monospaced design
  • Supports a wide range of programming-specific characters
  • Smaller file size, quicker to load for web use

Cons of Source Code Pro

  • Limited language support compared to Source Han Serif
  • Fewer stylistic variants and weights
  • Not suitable for body text or general typography

Code Comparison

Source Code Pro:

@font-face {
  font-family: 'Source Code Pro';
  src: url('SourceCodePro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

Source Han Serif:

@font-face {
  font-family: 'Source Han Serif';
  src: url('SourceHanSerif-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

Key Differences

  • Source Code Pro is designed for coding, while Source Han Serif is for general typography
  • Source Han Serif supports CJK (Chinese, Japanese, Korean) characters, Source Code Pro does not
  • Source Code Pro is monospaced, Source Han Serif is proportional
  • Source Han Serif has a larger file size due to extensive character set
  • Source Code Pro offers better readability for code, Source Han Serif for long-form text

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

English 简体中文 繁體中文 日本語 한국어

Source Han Serif

Source Han Serif is a set of OpenType Pan-CJK fonts. In addition to functional OpenType fonts, this open source project provides all of the source files that were used to build these OpenType fonts by using the AFDKO tools.

Download the fonts (OTF, OTC, Super OTC, Subset OTF, Variable OTF/TTF/WOFF2)

Individual font resources or ZIP files for various deployment configurations are available for download:

To help decide which fonts to download, please refer to the Configurations section of the official font readme file. Those who are unfamiliar with GitHub are encouraged to reference the official Source Han download guide, which is provided in English, Japanese, Korean, Simplified Chinese, and Traditional Chinese.

You can also download entire releases that include all available configurations in three ZIP files.

Building the fonts from source

Requirements

To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

Build all fonts

In this repository, all necessary files are in place for building the fonts. The COMMANDS.txt file provides the command lines that are used.

Getting Involved

For any suggestions for changes, please create a new issue for consideration.

Further information

For information about the design and background of Source Han Serif, please refer to the design guide and official font readme file.