FANDOM


WindowsEdit

Calculating PointEdit

pixel = point * resolution / 72;

72 * (1 + 1/3) = 96

FreetypeEdit

Mono bitmapEdit

  • printing bitmap
  • 0x80 means that most left pixel of this octed is true.
  • 0x01 means that most right pixel of this octed is true.
FT_Bitmap *bm = &face->glyph->bitmap;
int row, col, bit, c;

/* モノクロビットマップの場合 */
for (row = 0; row < bm->rows; row ++) {
    for (col = 0; col < bm->pitch; col ++) {
        c = bm->buffer[bm->pitch * row + col];
        for (bit = 7; bit >= 0; bit --) {
            if (((c >> bit) & 1) == 0)
                printf("  ");
            else
                printf("##");
        }
    }
    printf("\n");
}

Family nameEdit

  • Sans-serif: Gothic
  • Serif: Mincho

IPA FontEdit

Shinonome fontEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.