D2Coding Web Fonts
====
[![D2Coding license](https://img.shields.io/badge/License-OFL-blue.svg)](https://raw.githubusercontent.com/Joungkyun/font-d2coding/master/license)

D2Coding Font who careted by [NAVER Corp](http://dev.naver.com/projects/d2coding).<br>
D2Coding Web Font who generated by [JoungKyun.Kim](http://oops.org/).

## License

___True Type font:___ Copyright &copy; 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](https://github.com/naver/d2codingfont) 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

## Installation

### 1. Using JSDelivr

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

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

Or, if you want to add a ___specific version___:

```html
<link href="http://cdn.jsdelivr.net/gh/joungkyun/font-d2coding@1.3.2/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:

```html
<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:

```css
@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:

```css
body {
	font-family: D2Coding, 'D2 coding', monosapce;
}
```

first, search local ___D2Coding font___ and next call ___D2 coding web font___, and last load ___monospace___

