faster compile-time for gdi backend
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@104 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
98360d3a3c
commit
e2cfadea90
3 changed files with 130 additions and 132 deletions
|
|
@ -13,9 +13,7 @@
|
|||
#include <setjmp.h>
|
||||
#include <sys/types.h>
|
||||
#include <assert.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#else
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ int main(int argc, char** argv) {
|
|||
FT_Bitmap_Convert(lib, &face->glyph->bitmap, &bitmap, 1);
|
||||
|
||||
printf("\t{%d, %d, {", face->glyph->bitmap_left, face->glyph->bitmap_top);
|
||||
for(y = 0; y < atoi(argv[2]) - bitmap.rows; y++){
|
||||
for(y = 0; y < atoi(argv[2]) - bitmap.rows; y++) {
|
||||
printf("0%s", y == atoi(argv[2]) - 1 ? "" : ", ");
|
||||
}
|
||||
for(y = 0; y < bitmap.rows; y++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue