📄 readme_en.txt
字号:
Takechar V1.00 Takes out Chinese characters from source code.
Copyright(C) 2007 ShiQizheng(sales@newexperience.51.net)
http://newexperience.51.net
All rights reserved.
Released under GPL. Please see "gpl.txt" for details.
1. Introduction
Takechar can take out Chinese characters from different kind of
source code. It is useful for embbed device small font developing.
Current supported source code:
.c C language source code file
.h C language header file
.asm Assemble language source code file
.inc Assemble language include file
.s Assemble language source code file
2. Compile
Under takechar directory, just type 'make':
$make
To see examples, use 'make example':
$make example
2. Usage
Usage: takechar <source list file> <output file>
source list file: Contains the list of source code. Each line is one file.
Here is an example:
src.lst:
./helloworld.h
./helloworld.c
You can generate this file by 'find':
$find -type f > src.lst
outputfile: Contains the Chinese characters had been taken out. Each
line is one Chinese character.
3. Examples
There are two C source code files under "examples":
helloworld.h:
#include<stdio.h>
#include<stdlib.h>
#define STRING1 "Hello world!\n"
#define STRING2 "你好世界!\n"
helloworld.c:
#include "helloworld.h"
int main( int argc, char **argv[])
{
unsigned char szString1[] = "Hi, welcome to use takechar!\n";
unsigned char szString2[] = "你好,欢迎使用takechar!\n";
printf( STRING1);
printf( STRING2);
printf( szString1);
printf( szString2);
return 0;
}
After 'make example', you will get output file "out.txt":
你
好
世
界
!
,
欢
迎
使
用
All Chinese characters had been taken out from source code seperatly.
2007.01.10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -