w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pbmclean.c File Reference
#include <stdio.h>
#include "pbm.h"
Include dependency graph for pbmclean.c:

Go to the source code of this file.

Macros

#define PBM_INVERT(p)   ((p) == PBM_WHITE ? PBM_BLACK : PBM_WHITE)
 
#define thisrow   (1)
 

Functions

void nextrow ()
 
void nextrow (FILE *ifd, int row)
 
int main (int argc, argv)
 

Variables

static int rows
 
static int columns
 
static int format
 
static bitinrow [3]
 
int xd [] = { -1, -1, 0, 1, 1, 1, 0, -1 }
 
int yd [] = { 0, -1, -1, -1, 0, 1, 1, 1 }
 

Macro Definition Documentation

◆ PBM_INVERT

#define PBM_INVERT (   p)    ((p) == PBM_WHITE ? PBM_BLACK : PBM_WHITE)

Definition at line 12 of file pbmclean.c.

◆ thisrow

#define thisrow   (1)

Definition at line 18 of file pbmclean.c.

Function Documentation

◆ main()

◆ nextrow() [1/2]

void nextrow ( )

Referenced by main(), and pbm_dissectfont().

◆ nextrow() [2/2]

void nextrow ( FILE ifd,
int  row 
)

Definition at line 27 of file pbmclean.c.

References columns, format, inrow, NULL, pbm_allocrow, pbm_readpbmrow(), row, and rows.

Variable Documentation

◆ columns

int columns
static

Definition at line 15 of file pbmclean.c.

Referenced by main(), and nextrow().

◆ format

int format
static
Examples
/dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ktx/libs/freetype/include/freetype/freetype.h, and /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ptx/libs/freetype/include/freetype/freetype.h.

Definition at line 15 of file pbmclean.c.

Referenced by gen-vowel-constraints.ConstraintSet::__str__(), _cairo_beos_bitmap_to_surface(), _cairo_cogl_acquire_surface_texture(), _cairo_cogl_get_linear_gradient(), _cairo_cogl_surface_acquire_source_image(), _cairo_content_from_format(), _cairo_dfb_surface_create_similar(), _cairo_drm_surface_init(), _cairo_format_bits_per_pixel(), _cairo_format_from_pipe_format(), _cairo_format_to_pixman_format_code(), _cairo_gl_get_image_format_and_type(), _cairo_gl_get_image_format_and_type_gl(), _cairo_gl_get_image_format_and_type_gles2(), _cairo_gl_surface_draw_image(), _cairo_gl_surface_map_to_image(), _cairo_image_surface_coerce_to_format(), _cairo_image_surface_create_from_image(), _cairo_quartz_cairo_repeating_surface_pattern_to_quartz(), _cairo_quartz_cg_mask_with_surface(), _cairo_quartz_image_surface_create_similar_image(), _cairo_quartz_setup_state(), _cairo_quartz_surface_create_similar(), _cairo_quartz_surface_map_to_image(), _cairo_surface_observer_create_similar_image(), _cairo_surface_subsurface_create_similar_image(), _cairo_surface_to_cgimage(), _cairo_user_scaled_glyph_init(), _cairo_win32_display_surface_create_for_dc(), _cairo_win32_display_surface_create_similar(), _cairo_win32_display_surface_create_similar_image(), _cairo_win32_flags_for_dc(), _cairo_xcb_connection_get_xrender_format(), _cairo_xcb_connection_get_xrender_format_for_visual(), _cairo_xcb_connection_render_create_glyph_set(), _cairo_xcb_connection_render_create_picture(), _cairo_xcb_get_glyphset_index_for_format(), _cairo_xcb_scaled_font_get_glyphset_info_for_format(), _cairo_xcb_surface_create_similar(), _cairo_xcb_surface_create_similar_image(), _cairo_xcb_surface_picture(), _cairo_xlib_display_get_xrender_format(), _cairo_xlib_display_get_xrender_format_for_pixman(), _cairo_xlib_font_get_glyphset_info_for_format(), _cairo_xlib_get_glyphset_index_for_format(), _cairo_xlib_surface_create_similar_shm(), _composite_traps(), _create_dc_and_bitmap(), _create_scratch_internal(), _directfb_format_to_content(), _directfb_to_pixman_format(), _Ex_FatalError(), _format_to_string(), _gd_error_ex(), icutools.databuilder.request_types.IndexRequest::_generate_index_file(), _get_bitmap_surface(), _get_image_surface(), _hb_buffer_serialize_invalid(), _picture_from_image(), _pixman_bits_image_init(), _pixman_bits_image_src_iter_init(), _pixman_format_for_xlib_surface(), _pixman_format_from_masks(), _pixman_format_to_masks(), _pixman_image_get_solid(), _pixman_implementation_iter_init(), _render_glyph_outline(), _synctex_updater_print(), _synctex_updater_print_gz(), _vg_clone_image_surface(), _vg_clone_recording_surface(), _vg_format_from_pixman(), _vg_format_to_content(), _vg_format_to_pixman(), _vg_surface_create_internal(), _wgl_dummy_ctx(), _WriteTTFFont(), _WriteWOFFFont(), addliteral(), OT::ValueFormat::apply_value(), ATinit(), ATmaxpInit(), bdf_create_property(), bk_gpos_value(), blit(), bmeps_pnm(), bmeps_pnm_wh(), build_channels(), OT::IndexSubtableArray::build_lookup(), buildCoverageFormat(), BuildFondList(), buildtablestructures(), cairo_cff_font_write_type1_charset(), cairo_directfb_surface_create(), cairo_drm_surface_create(), cairo_drm_surface_create_for_name(), cairo_format_stride_for_width(), cairo_gl_context_get_glyph_cache(), cairo_image_surface_create(), cairo_image_surface_create_for_data(), cairo_qt_surface_create_with_qimage(), cairo_quartz_image_surface_create(), cairo_quartz_surface_create(), cairo_surface_create_similar_image(), cairo_vg_surface_create(), cairo_vg_surface_create_for_image(), cairo_win32_surface_create_with_ddb(), cairo_win32_surface_create_with_dib(), cairo_win32_surface_create_with_format(), cairo_xcb_surface_create_with_xrender_format(), CairoQuartzCreateCGImage(), CFF_Load_FD_Select(), cff_vstore_load(), Efont::OpenType::Cmap::check_table(), FoFiTrueType::checkGIDInCoverage(), graphite2::TtfUtil::CheckTable(), Clp_fprintf(), Clp_OptionError(), Clp_vfprintf(), Clp_vsnprintf(), CmdDocumentStyle(), CmdMultiCol(), OT::ValueFormat::collect_variation_indices(), color_to_pixel(), composite_glyphs_via_mask(), composite_traps(), composite_tristrip(), convert(), convert_and_store_pixel(), convert_pixel_from_a8r8g8b8(), convert_pixel_to_a8r8g8b8(), convert_row(), convertpng(), convertpnm(), convertToPSEmbed(), OT::EncodingRecord::copy(), OT::IndexSubtable::copy_glyph_at_idx(), create_bits(), create_bits_image_internal(), FontWriter::createFontFile(), date(), CharstringCheckerErrorHandler< T >::decorate(), describe_one(), dev_locate_font(), diagnostics(), die(), dither_apply_ordered(), do_all(), do_character(), doabbr(), dopr(), dump_gradient_to_png(), dumpcff(), dumpcmap(), dumpnames(), dumppost(), dumpSignature(), emit_surface_state(), Package::enumDependencies(), Efont::CharstringInterp::error_string(), extractJpegDataFromFile(), extractTiffG4DataFromFile(), FcFormatContextInit(), FcPatternFormat(), FcPatternFormatToBuf(), fetch_and_convert_pixel(), fetch_nearest(), icutools.databuilder.renderers.makefile::files_to_makefile(), find_format(), OT::cmap::find_subtable(), graphite2::TtfUtil::FindCmapSubtable(), fixup_asprintf(), fixup_sprintf(), fixup_vasprintf(), font_from_lua(), font_to_lua(), RelativeDateFormat::format(), format_is_supported_destination(), fprintf2(), fprintRTF(), FPSTRuleContentsFree(), FPSTRulesFree(), Free_SinglePos(), Free_ValueRecord(), freeK(), FT_Get_Renderer(), FT_Lookup_Renderer(), FT_New_Glyph(), gallium_format_stride_for_width(), gallium_surface_acquire_source_image(), gallium_surface_create(), gallium_surface_create_internal(), gd_error(), gd_error_ex(), gd_stderr_error(), gdCtxPrintf(), BUILDRULES::generate_tree(), get_cairo_format_from_cogl_format(), icutools.databuilder.renderers.makefile::get_gnumake_rules(), icutools.databuilder.renderers.makefile::get_gnumake_rules_helper(), OT::IndexSubtableRecord::get_image_data(), OT::IndexSubtable::get_image_data(), get_shifts(), Get_ValueRecord(), getClassDefTable(), getCoverageTable(), XFAScanner::getFieldPictureInfo(), getWhen(), glenc(), glnames(), gposCursiveSubTable(), gposKernSubTable(), gposSimplePos(), gregorio_messagef(), gregorio_snprintf(), gsubMultipleSubTable(), gsubSimpleSubTable(), gxv_bsln_validate(), gxv_just_validate(), gxv_kern_coverage_classic_apple_validate(), gxv_kern_coverage_classic_microsoft_validate(), gxv_kern_coverage_new_apple_validate(), gxv_kern_coverage_validate(), gxv_kern_subtable_validate(), gxv_lcar_partial_validate(), gxv_lcar_validate(), gxv_LookupTable_validate(), gxv_opbd_LookupValue_validate(), gxv_opbd_validate(), gxv_prop_validate(), gxv_trak_validate(), gzprintf(), handle_fpst_rule(), OT::ValueFormat::has_device(), hb_buffer_deserialize_glyphs(), hb_buffer_deserialize_unicode(), hb_buffer_serialize(), hb_buffer_serialize_format_to_string(), hb_buffer_serialize_glyphs(), hb_buffer_serialize_unicode(), help_formats(), hnj_hyphen_load(), i915_buffer_cache_init(), i915_surface_create(), i915_surface_create_for_name(), i915_surface_create_from_cacheable_image_internal(), i915_surface_create_internal(), i915_surface_create_similar(), i915_surface_glyphs(), i915_surface_init(), i915_tiling_stride(), i965_get_card_format(), i965_get_dest_format(), i965_surface_create(), i965_surface_create_for_name(), i965_surface_create_internal(), i965_surface_create_similar(), i965_surface_glyphs(), i965_surface_init(), image_to_pnm(), JPXStreamPrivate::init2(), initATTables(), initTables(), intel_buffer_cache_init(), intel_get_glyph_cache(), intel_surface_create(), intel_surface_create_for_name(), intel_surface_init(), iof_putfs(), Efont::AfmParser::is(), Efont::AfmParser::isall(), kpathsea_find_file(), kpathsea_find_file_generic(), kpathsea_find_glyph(), kpathsea_init_format(), kpathsea_init_format_return_varlist(), kpathsea_make_tex(), kpathsea_set_suffixes(), kpathsea_set_suffixes_va_list(), kpathsea_win32_fprintf(), kpathsea_win32_vfprintf(), kpsei_find_file(), layoutChars(), Efont::AfmReader::lerror(), Efont::AmfmReader::lerror(), load_image(), Load_SBit_Range(), Load_SinglePos(), Load_ValueRecord(), loggerf(), lookup_gpos(), luatex_kpse_find_aux(), LUAUI__LogError(), LUAUI_IError(), LUAUI_LogError(), Efont::AfmReader::lwarning(), Efont::AmfmReader::lwarning(), icutools.databuilder.__main__::main(), main(), maketex(), hb_sanitize_context_t::may_dispatch(), misstex(), mrb_format(), mrb_get_args(), mrb_kpse_find_file(), mrb_kpse_make_tex(), mrb_vformat(), NameOTLookup(), names_dump(), nextrow(), NOUI__LogError(), NOUI_IError(), NOUI_LogError(), ZLibOutputStream::open(), ZLibOutputBuffer::open(), openin(), optFatalFunc(), otfcc_build_gpos_single(), otfcc_parseSVG(), otfMakeClassDef(), otfMakeCoverage(), otl_read_chaining(), otl_read_contextual(), otv_value_length(), otv_ValueRecord_validate(), Efont::Cff::FDSelect::parse(), Efont::Cff::Charset::parse(), Efont::Cff::Font::parse_encoding(), Efont::OpenType::Cmap::parse_header(), fc-lang::parse_orth_file(), pbm_readpbm(), pbm_readpbmrow(), pbm_readpbmrow_packed(), pcf_get_accel(), pcf_get_bitmaps(), pcf_get_encodings(), pcf_get_metric(), pcf_get_metrics(), pcf_get_properties(), pcf_read_TOC(), pdf_load_fontmap_file(), pdf_read_fontmap_line(), pdf_ximage_load_image(), pfr_glyph_load_compound(), pfr_glyph_load_simple(), pfr_load_bitmap_bits(), pgm_readpgm(), pgm_readpgmrow(), PickCMap(), pixaWriteFiles(), pixChooseOutputFormat(), pixman_expand_to_float(), pixman_format_supported_destination(), pixman_format_supported_source(), pixman_glyph_get_mask_format(), pixman_image_create_bits(), pixman_image_create_bits_no_clear(), pixReadStream(), pixWrite(), pixWriteStream(), pm_error(), pm_message(), png_format_number(), png_image_format(), png_image_read_direct(), png_image_read_header(), png_image_set_PLTE(), png_image_write_main(), png_warning_parameter_signed(), png_warning_parameter_unsigned(), pnm_backgroundxel(), pnm_backgroundxelrow(), pnm_blackxel(), pnm_invertxel(), pnm_promoteformat(), pnm_promoteformatrow(), pnm_readpnmrow(), pnm_whitexel(), pnm_writepnm(), pnm_writepnminit(), pnm_writepnmrow(), position_format_length(), ppm_readppm(), ppm_readppmrow(), print_debug_info(), print_encoding(), print_glyph_positioning(), putinit(), radeon_surface_create(), radeon_surface_create_for_name(), radeon_surface_create_internal(), radeon_surface_init(), read_cmap(), read_cmap_table(), read_gpos_value(), read_png(), Efont::read_synthetic_string(), readAnchorPoint(), readcffenc(), readcffset(), readClassDef(), readCmapMappingTable(), readCmapMappingTableUVS(), readCoverage(), readfdselect(), ReadPNM(), readttfbase(), readttfencodings(), readttfgdef(), readttfkerns(), readttfpostnames(), ReadXPMFile(), redomaxp(), RulesCopy(), icutools.databuilder.renderers.common_exec::run_helper(), OT::ValueFormat::sanitize_value_devices(), SAPPENDF(), FoFiTrueType::scanLookupSubTable(), scheck(), SCNeedsSubsPts(), search(), OT::cmap::serialize(), OT::ValueFormat::serialize_copy(), poppler::page_renderer::set_image_format(), set_variables(), SetFileFormat(), SVGTree::setFontFormat(), sethead(), setos2(), DVIToSVG::setPageSize(), drvCAIRO::show_image(), Efont::OpenType::GposValue::size(), StringAccum::snprintf(), SOError(), source_image_type(), SPRINTF(), OT::cmap::subset(), SubtableIsntSupported(), SubtableMustBe14(), surface_matches_image_format(), TabularMultiParameters(), tex_run_boot(), tfm_open(), try_fallback_resolutions(), try_fontmap(), try_format(), try_resolution(), try_size(), tt_face_build_cmaps(), tt_face_load_kern(), tt_face_load_name(), ttc_dump(), ttc_perfonttables(), ttc_prep(), ttf_read_cmap(), ttfFreeSubTable(), ttfLoadSubTable(), ttfLookUpCMAP(), ttfPrintSubTable(), Type1OpenScalable(), u_printf_double_handler(), u_printf_integer_handler(), u_printf_percent_handler(), u_printf_reset_sign(), u_printf_scidbl_handler(), u_printf_scientific_handler(), u_printf_set_sign(), u_printf_spellout_handler(), u_printf_uinteger_handler(), u_scanf_double_handler(), u_scanf_integer_handler(), u_scanf_percent_handler(), u_scanf_scientific_handler(), u_scanf_skip_leading_positive_sign(), u_scanf_spellout_handler(), u_snprintf(), u_sprintf(), u_vsnprintf(), udat_applyPattern_68(), udat_applyPatternRelative_68(), udat_close_68(), udat_format_68(), udat_formatCalendar_68(), udat_formatCalendarForFields_68(), udat_formatForFields_68(), udat_parse_68(), udat_parseCalendar_68(), udat_setSymbols_68(), ulistfmt_format_68(), umsg_close_68(), Efont::OpenType::GposSingle::unparse(), unum_formatDoubleForFields_68(), usage(), verb_printf(), verror(), Efont::AfmParser::vis(), ErrorHandler::vxformat(), warn_printf(), write_gpos_value(), write_pnm(), FontWriter::writeCSSFontFace(), ImageOutputDev::writeImage(), ImageOutputDev::writeImageFile(), SplashBitmap::writeImgFile(), WriteTTC(), WriteTTFFont(), WriteWOFFFont(), Efont::OpenType::GposValue::xadvance(), Efont::OpenType::GposValue::xplacement(), Efont::OpenType::GposValue::yadvance(), Efont::OpenType::GposValue::yplacement(), ZLibOutputBuffer::ZLibOutputBuffer(), and ZLibOutputFileStream::ZLibOutputFileStream().

◆ inrow

bit* inrow[3]
static

Definition at line 16 of file pbmclean.c.

Referenced by main(), and nextrow().

◆ rows

int rows
static

Definition at line 15 of file pbmclean.c.

Referenced by _cairo_ps_emit_imagemask(), _cairo_svg_document_emit_bitmap_glyph_data(), _cairo_xcb_connection_put_image(), _cairo_xcb_connection_put_subimage(), _trace_mask_to_path(), alloc_body_array(), average_drawproc(), blit(), bmeps_pnm(), bmeps_pnm_wh(), build_channels(), camo(), OT::MarkBasePosFormat1::collect_variation_indices(), OT::MarkMarkPosFormat1::collect_variation_indices(), composite(), compress(), convertpnm(), Crop_Bitmap(), deep_to_ppm(), describe_one(), direct_to_ppm(), do_24_body(), do_barray_io(), do_direct_body(), do_ham_body(), do_sarray_io(), do_std_body(), fill_map(), filter_PNG15_apply_filter(), filter_TIFF2_apply_filter(), gimp_channel_new(), gimp_image_new(), gimp_layer_new(), gingham2(), gingham3(), ham_to_ppm(), initscreen(), load_lines(), load_tiles(), madras(), main(), Stream::makeFilter(), nextrow(), pbm_writepbm(), pbm_writepbminit(), pcx_16col_to_ppm(), pcx_256col_to_ppm(), pcx_truecol_to_ppm(), pgm_writepgm(), pgm_writepgminit(), pm_allocarray(), png_run(), pnm_backgroundxel(), pnm_promoteformat(), pnm_writepnm(), pnm_writepnminit(), poles(), ppm_computecolorhash(), ppm_computecolorhist(), ppm_to_16col_pcx(), ppm_to_24(), ppm_to_256col_pcx(), ppm_to_direct(), ppm_to_ham(), ppm_to_std(), ppm_to_truecol_pcx(), ppm_writeppm(), ppm_writeppminit(), ppmd_circle(), ppmd_fill(), ppmd_filledrectangle(), ppmd_line(), ppmd_point_drawproc(), ppmd_polyspline(), ppmd_spline3(), ppmd_text(), print_debug_info(), ptstiff3_load_image(), ptstiff3_save_image(), putinit(), read_16bit(), read_8bit(), read_default(), read_separate(), sq_rainbowcircle_drawproc(), squig(), start_png_image(), std_to_ppm(), OT::MarkBasePosFormat1::subset(), OT::MarkMarkPosFormat1::subset(), tartan(), test(), tiff2png(), ucnv_swapAliases_68(), upvec_compact_68(), upvec_setValue_68(), ures_swap_68(), write_bmhd(), write_header(), write_png(), write_png_gray(), write_png_gray_alpha(), write_png_palette(), write_png_rgb(), write_png_rgb_alpha(), write_pnm(), write_raw_pbm(), write_stream(), WritePackedImage(), and WriteRawImage().

◆ xd

◆ yd