Skip to content

Joungkyun/font-d2coding

Repository files navigation

D2Coding Web Fonts

D2Coding license

D2Coding Font who careted by NAVER Corp.
D2Coding Web Font who generated by JoungKyun.Kim.

License

True Type font: Copyright © NAVER Copr. All Rights Reserved.

OFL(Open Font License)

THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Font information

Weights

  • Bold (700)
  • Normal (400)

Support type

  • eot
  • woff
  • woff2
  • ttf
  • svg (from 1.2.1)

Description

The D2Coding font is Korean developed font distributed by Naver. It is a font that is optimized for the coding of developers based on the well-known Nanum Barun Gothic font, considering not only the readability and similarity between characters but also harmony with Hangul in design.

In applications that do not support the ligature function that was provided in 1.3, it has been found that the font output is not working properly due to this feature. Therefore, the ligature function has been separated from the 1.3.1 version. Invoke d2coding-ligature.css. The font-family is "D2 coding Ligature".

Due to the capacity limitation of jsdelivr, the D2 coding ligature branches to another repository.

https://github.com/Joungkyun/font-d2coding-ligature

For ligature and subset fonts, use the following repository:

Installation

1. Using JSDelivr

Add the following code to the header section of the HTML document:

<link href="http:https://cdn.jsdelivr.net/gh/joungkyun/font-d2coding/d2coding.css" rel="stylesheet" type="text/css">

Or, if you want to add a specific version:

<link href="http:https://cdn.jsdelivr.net/gh/joungkyun/[email protected]/d2coding.css" rel="stylesheet" type="text/css">

2. Using download package

  1. Uncompress the downloaded d2coding package into a web accessible path.
  2. Add d2coding.css in the path to the header section of the HTML document as follow:
<link href="/path/d2coding.css" rel="stylesheet" type="text/css">

3. Add font-face manually

In the header section of the HTML document, add CSS @font-face as follow:

@font-face {
  font-family: 'D2 coding';
  font-style: normal;
  font-weight: 400;
  src: url('D2Coding.eot');
  src: local('※'), local('D2Coding'),
       url('D2Coding.eot?#iefix') format('embedded-opentype'),
       url('D2Coding.woff2') format('x-woff2'),
       url('D2Coding.woff') format('woff'),
       url('D2Coding.ttf') format('truetype'),
       url('D2Coding.svg') format('svg');
}
@font-face {
  font-family: 'D2 coding';
  font-style: normal;
  font-weight: 700;
  src: url('D2CodingBold.eot');
  src: local('※'), local('D2Coding Bold'),
       url('D2CodingBold.eot?#iefix') format('embedded-opentype'),
       url('D2CodingBold.woff2') format('x-woff2'),
       url('D2CodingBold.woff') format('woff'),
       url('D2CodingBold.ttf') format('truetype'),
       url('D2CodingBold.svg') format('svg');
}

Using

Adding to CSS:

body {
	font-family: D2Coding, 'D2 coding', monospace;
}

first, search local D2Coding font and next call D2 coding web font, and last load monospace

About

Naver D2Coding Web font (eot, woff, woff2, svg)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages