mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
HTMl manual for cpdflib
This commit is contained in:
27
html_manual/splits/c15.tex
Normal file
27
html_manual/splits/c15.tex
Normal file
@@ -0,0 +1,27 @@
|
||||
/* CHAPTER 14. Fonts. */
|
||||
|
||||
/*
|
||||
* Retrieving font information. First, call cpdf_startGetFontInfo(pdf). Now
|
||||
* call cpdf_numberFonts to return the number of fonts. For each font, call
|
||||
* one or more of cpdf_getFontPage, cpdf_getFontName, cpdf_getFontType, and
|
||||
* cpdf_getFontEncoding giving a serial number 0..<number of fonts> - 1 to
|
||||
* return information. Finally, call cpdf_endGetFontInfo to clean up.
|
||||
*/
|
||||
void cpdf_startGetFontInfo(int);
|
||||
int cpdf_numberFonts(void);
|
||||
int cpdf_getFontPage(int);
|
||||
char *cpdf_getFontName(int);
|
||||
char *cpdf_getFontType(int);
|
||||
char *cpdf_getFontEncoding(int);
|
||||
void cpdf_endGetFontInfo(void);
|
||||
|
||||
/* cpdf_removeFonts(pdf) removes all font data from a file. */
|
||||
void cpdf_removeFonts(int);
|
||||
|
||||
/*
|
||||
* cpdf_copyFont(from, to, range, pagenumber, fontname) copies the given font
|
||||
* from the given page in the 'from' PDF to every page in the 'to' PDF. The
|
||||
* new font is stored under it's font name.
|
||||
*/
|
||||
void cpdf_copyFont(int, int, int, int, const char[]);
|
||||
|
Reference in New Issue
Block a user