Skip to content
Antony Dovgal edited this page Jan 15, 2013 · 2 revisions

Table of Contents

font_demo.c

font_demo.c is a program which shows list of bese14fonts.

http://libharu.org/figures/font_demo.png

line_demo.c

line_demo.c is a program which shows various line graphics.

http://libharu.org/figures/line_demo.png

text_demo.c

text_demo.c is a program which show various way of text showing.

http://libharu.org/figures/text_demo.png

text_demo2.c

text_demo2.c is an additional demo program which show various way of text showing.

http://libharu.org/figures/text_demo2.png

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.

http://libharu.org/figures/encoding_list.png

encryption.c, permission.c

These programs describe how to create an encrypted pdf file.

encryption.c

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/)

http://libharu.org/figures/tt_font.png

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.

http://libharu.org/figures/jpfont_demo.png

image_demo.c

image_demo describes how to use special functions for displaying images.

http://libharu.org/figures/image_demo.png

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></encoding-name> <font-name></font-name>".

For example, type as follows to create list for Korean of KSCms-UHC-HW-H encoding.

./character_map KSCms-UHC-HW-H BatangChe

http://libharu.org/figures/character_map.png

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).