Commit d540c042 authored by Albert Astals Cid's avatar Albert Astals Cid

* utils/HtmlFonts.cc: Make pdftohtml not pollute stdout. Patch by

        Nanning Buitenhuis <nanning@elvenkind.com>

And some changes in glib/reference/tmpl
parent ce414f2a
2007-05-30 Albert Astals Cid <aacid@kde.org>
* utils/HtmlFonts.cc: Make pdftohtml not pollute stdout. Patch by
Nanning Buitenhuis <nanning@elvenkind.com>
2007-05-29 Kristian Høgsberg <krh@redhat.com>
* poppler/gen-unicode-tables.py: Add this script to fix distcheck.
......
......@@ -50,11 +50,15 @@ The #PopplerDocument is an object used to refer to a main document.
@POPPLER_FONT_TYPE_UNKNOWN:
@POPPLER_FONT_TYPE_TYPE1:
@POPPLER_FONT_TYPE_TYPE1C:
@POPPLER_FONT_TYPE_TYPE1COT:
@POPPLER_FONT_TYPE_TYPE3:
@POPPLER_FONT_TYPE_TRUETYPE:
@POPPLER_FONT_TYPE_TRUETYPEOT:
@POPPLER_FONT_TYPE_CID_TYPE0:
@POPPLER_FONT_TYPE_CID_TYPE0C:
@POPPLER_FONT_TYPE_CID_TYPE0COT:
@POPPLER_FONT_TYPE_CID_TYPE2:
@POPPLER_FONT_TYPE_CID_TYPE2OT:
<!-- ##### ENUM PopplerViewerPreferences ##### -->
<para>
......
......@@ -17,3 +17,153 @@ poppler-enums
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO POPPLER_TYPE_ACTION_TYPE ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_action_type_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_DEST_TYPE ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_dest_type_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_PAGE_LAYOUT ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_page_layout_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_PAGE_MODE ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_page_mode_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_FONT_TYPE ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_font_type_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_VIEWER_PREFERENCES ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_viewer_preferences_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_PERMISSIONS ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_permissions_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_ERROR ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_error_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_ORIENTATION ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_orientation_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### MACRO POPPLER_TYPE_BACKEND ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_backend_get_type ##### -->
<para>
</para>
@Returns:
......@@ -134,11 +134,10 @@ Information about a page in a document
</para>
@page:
@scale:
@rotation:
@pixbuf:
@cairo:
@selection:
@old_selection:
@style:
@glyph_color:
@background_color:
......
<!-- ##### MACRO POPPLER_TYPE_ACTION_TYPE ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_BACKEND ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_DEST_TYPE ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_ERROR ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_FONT_TYPE ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_ORIENTATION ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_PAGE_LAYOUT ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_PAGE_MODE ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_PERMISSIONS ##### -->
<para>
</para>
<!-- ##### MACRO POPPLER_TYPE_VIEWER_PREFERENCES ##### -->
<para>
</para>
<!-- ##### FUNCTION poppler_action_type_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_backend_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_dest_type_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_error_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_font_type_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_orientation_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_page_layout_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_page_mode_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_permissions_get_type ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION poppler_viewer_preferences_get_type ##### -->
<para>
</para>
@Returns:
......@@ -36,7 +36,7 @@ HtmlFontColor::HtmlFontColor(GfxRGB rgb){
r=static_cast<int>(rgb.r/65535.0*255.0);
g=static_cast<int>(rgb.g/65535.0*255.0);
b=static_cast<int>(rgb.b/65535.0*255.0);
if (!(Ok(r)&&Ok(b)&&Ok(g))) {printf("Error : Bad color %d %d %d\n", r, g, b);r=0;g=0;b=0;}
if (!(Ok(r)&&Ok(b)&&Ok(g)) && !globalParams->getErrQuiet()) {fprintf(stderr, "Error : Bad color (%d,%d,%d) reset to (0,0,0)\n", r, g, b);r=0;g=0;b=0;}
}
GooString *HtmlFontColor::convtoX(unsigned int xcol) const{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment