-
Notifications
You must be signed in to change notification settings - Fork 2
Examples
font_demo.c is a program which shows list of bese14fonts.
http://libharu.org/figures/font_demo.pngline_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 is a program which show various way of text showing.
http://libharu.org/figures/text_demo.pngtext_demo2.c is an additional demo program which show various way of text showing.
http://libharu.org/figures/text_demo2.pngThese demo programs explain how to load a picture.
png_demo.c
jpeg_demo.c raw_image_demo.cencoding_list.c shows the list of characters for various encodings.
http://libharu.org/figures/encoding_list.pngThese 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")
arc_demo is a program which shows how to use arc and circle functions.
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.pngThese programs describe the way of using text, link and web-link annotations.
text_annotation.c
link_annotation.coutline_demo shows how to use outlines.
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 describes how to use special functions for displaying images.
http://libharu.org/figures/image_demo.pngcharactor_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.pnggrid_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).