Documentation/Examples
From libHaru.org wiki
font_demo.c
font_demo.c is a program which shows list of bese14fonts.
line_demo.c
line_demo.c is a program which shows various line graphics.
- show source code
- show source code(ruby)
- show source code(Delphi/Free Pascal)
- show source code(c#)
- show pdf
text_demo.c
text_demo.c is a program which show various way of text showing.
text_demo2.c
text_demo2.c is an additional demo program which show various way of text showing.
png_demo.c, jpeg_demo.c, raw_image_demo.c
These demo programs explain how to load a picture.
png_demo.c
jpeg_demo.c
raw_image_demo.c
encoding_list.c
encoding_list.c shows the list of characters for various encodings.
encryption.c, permission.c
These programs describe how to create an encrypted pdf file.
encryption.c
- show source code
- show source code(ruby)
- show pdf (The user password is "user")
permission.c
arc_demo.c
arc_demo is a program which shows how to use arc and circle functions.
ttfont_demo.c
ttfont_demo shows how to load and use TrueType font. This program uses the font named Penguin Attack written by Dustin Norlander(http://www.dustismo.com/)
text_annotation.c, link_annotation.c
These programs describe the way of using text, link and web-link annotations.
text_annotation.c
link_annotation.c
outline_demo.c
outline_demo shows how to use outlines.
jpfont_demo.c
jpfont_demo shows how to create a pdf-file which uses japanese font.
- show source code
- show source code(ruby)
- show source code(c#)
- show pdf files (Asian Font Pack is required to display this PDF file.)
image_demo.c
image_demo describes how to use special functions for displaying images.
character_map.c
charactor_map is a program to create the list of characters for multibyte encodings. Usage of this program is "character_map <encoding-name> ".
For example, type as follows to create list for Korean of KSCms-UHC-HW-H encoding.
./character_map KSCms-UHC-HW-H BatangChe
grid_sheet.c
grid_sheet is a program which uses to design a report. A positioning works becomes easy by overlaying a page with this grid sheet (See text_demo2.c).
