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)  

gen-indic-table Namespace Reference

Functions

def print_block (block, start, end, data)
 

Variables

list ALLOWED_SINGLES = [0x00A0, 0x25CC]
 
list ALLOWED_BLOCKS
 
list files = [open (x, encoding='utf-8') for x in sys.argv[1:]]
 
list headers = [[f.readline () for i in range (2)] for f in files]
 
list data = [{} for _ in files]
 
list values = [{} for _ in files]
 
 j = line.find ('#')
 
 line = line[:j]
 
list fields = [x.strip () for x in line.split (';')]
 
list uu = fields[0].split ('..')
 
 start = int (uu[0], 16)
 
 end = start
 
list t = fields[1]
 
tuple defaults = ('Other', 'Not_Applicable', 'No_Block')
 
dictionary combined = {}
 
dictionary singles = {}
 
list short
 
list all_shorts = [{},{}]
 
list what = ["INDIC_SYLLABIC_CATEGORY", "INDIC_MATRA_CATEGORY"]
 
list what_short = ["ISC", "IMC"]
 
list cat_defs = []
 
 vv = sorted (values[i].keys ())
 
 v_no_and = v.replace ('_And_', '_')
 
list s = short[i][v]
 
 maxlen_s = max ([len (c[0]) for c in cat_defs])
 
 maxlen_l = max ([len (c[1]) for c in cat_defs])
 
 maxlen_n = max ([len (c[2]) for c in cat_defs])
 
int total = 0
 
int used = 0
 
 last_block = None
 
int last = -100000
 
int num = 0
 
int offset = 0
 
list starts = []
 
list ends = []
 
list block = data[u][2]
 
int occupancy = used * 100. / total
 
int page_bits = 12
 
 pages = set ([u>>page_bits for u in starts+ends+list (singles.keys ())])
 

Function Documentation

◆ print_block()

def gen-indic-table.print_block (   block,
  start,
  end,
  data 
)

Definition at line 173 of file gen-indic-table.py.

Variable Documentation

◆ all_shorts

list gen-indic-table.all_shorts = [{},{}]

Definition at line 127 of file gen-indic-table.py.

◆ ALLOWED_BLOCKS

list gen-indic-table.ALLOWED_BLOCKS
Initial value:
1 = [
2  'Basic Latin',
3  'Latin-1 Supplement',
4  'Devanagari',
5  'Bengali',
6  'Gurmukhi',
7  'Gujarati',
8  'Oriya',
9  'Tamil',
10  'Telugu',
11  'Kannada',
12  'Malayalam',
13  'Sinhala',
14  'Myanmar',
15  'Khmer',
16  'Vedic Extensions',
17  'General Punctuation',
18  'Superscripts and Subscripts',
19  'Devanagari Extended',
20  'Myanmar Extended-B',
21  'Myanmar Extended-A',
22 ]

Definition at line 17 of file gen-indic-table.py.

◆ ALLOWED_SINGLES

list gen-indic-table.ALLOWED_SINGLES = [0x00A0, 0x25CC]

Definition at line 16 of file gen-indic-table.py.

◆ block

◆ cat_defs

list gen-indic-table.cat_defs = []

Definition at line 140 of file gen-indic-table.py.

◆ combined

dictionary gen-indic-table.combined = {}

Definition at line 74 of file gen-indic-table.py.

Referenced by _cairo_gstate_mask(), and CL::CommandLine.parseShortOption().

◆ data

dictionary gen-indic-table.data = [{} for _ in files]

Definition at line 44 of file gen-indic-table.py.

◆ defaults

tuple gen-indic-table.defaults = ('Other', 'Not_Applicable', 'No_Block')

Definition at line 71 of file gen-indic-table.py.

◆ end

tuple gen-indic-table.end = start

Definition at line 60 of file gen-indic-table.py.

◆ ends

◆ fields

◆ files

list gen-indic-table.files = [open (x, encoding='utf-8') for x in sys.argv[1:]]

Definition at line 40 of file gen-indic-table.py.

◆ headers

list gen-indic-table.headers = [[f.readline () for i in range (2)] for f in files]

Definition at line 42 of file gen-indic-table.py.

◆ j

gen-indic-table.j = line.find ('#')

Definition at line 49 of file gen-indic-table.py.

◆ last

int gen-indic-table.last = -100000

Definition at line 198 of file gen-indic-table.py.

◆ last_block

gen-indic-table.last_block = None

Definition at line 172 of file gen-indic-table.py.

◆ line

gen-indic-table.line = line[:j]

Definition at line 51 of file gen-indic-table.py.

◆ maxlen_l

gen-indic-table.maxlen_l = max ([len (c[1]) for c in cat_defs])

Definition at line 156 of file gen-indic-table.py.

◆ maxlen_n

gen-indic-table.maxlen_n = max ([len (c[2]) for c in cat_defs])

Definition at line 157 of file gen-indic-table.py.

◆ maxlen_s

gen-indic-table.maxlen_s = max ([len (c[0]) for c in cat_defs])

Definition at line 155 of file gen-indic-table.py.

◆ num

int gen-indic-table.num = 0

Definition at line 199 of file gen-indic-table.py.

◆ occupancy

◆ offset

string gen-indic-table.offset = 0

Definition at line 200 of file gen-indic-table.py.

◆ page_bits

int gen-indic-table.page_bits = 12

Definition at line 234 of file gen-indic-table.py.

◆ pages

gen-indic-table.pages = set ([u>>page_bits for u in starts+ends+list (singles.keys ())])

Definition at line 242 of file gen-indic-table.py.

◆ s

string gen-indic-table.s = short[i][v]

Definition at line 146 of file gen-indic-table.py.

◆ short

list gen-indic-table.short
Initial value:
1 = [{
2  "Bindu": 'Bi',
3  "Cantillation_Mark": 'Ca',
4  "Joiner": 'ZWJ',
5  "Non_Joiner": 'ZWNJ',
6  "Number": 'Nd',
7  "Visarga": 'Vs',
8  "Vowel": 'Vo',
9  "Vowel_Dependent": 'M',
10  "Consonant_Prefixed": 'CPrf',
11  "Other": 'x',
12 },{
13  "Not_Applicable": 'x',
14 }]

Definition at line 113 of file gen-indic-table.py.

Referenced by _bdf_parse_glyphs(), _bdf_parse_start(), _emit_glyphs_chunk(), addflood(), RBBISetBuilder.addValToSet(), af_glyph_hints_reload(), bdf_load_font(), begin_file_reading(), BuildFondList(), cdecrypt(), cencrypt(), cff_builder_add_contour(), cff_builder_close_contour(), chop_commands(), comp_glw_entry(), cp_decl_spec(), cs_store(), DecodeArgs(), dev_rast_initfontdict(), do_write_tounicode(), dopar(), draw_composite_glyf(), draw_simple_glyf(), Draw_Sweep(), edecrypt(), eencrypt(), EmitChar(), finishup(), fnmetrics(), FT_GlyphLoader_Add(), ft_stroke_border_export(), CCITTFaxStream.getBlackCode(), SplashFont.getGlyph(), getoption(), CCITTFaxStream.getWhiteCode(), GIFEncodeImage(), glmetrics(), gray_hline(), gww_iconv(), in_xpm_reader(), inflate(), inflate_table(), inflateBack(), jai_read2(), jis_to_dcode(), kerning(), l_read(), load_truetype_glyph(), loadgfchar(), LogL16InitState(), LogLuvInitState(), main(), makeheader(), next_line(), open_ems_store(), open_xms_store(), out_tiff_work(), out_tiffjai_work(), PCHG_Decompress(), PfEd_GlyphComments(), PfEd_Layer(), pfed_readguidelines(), pfr_glyph_close_contour(), pix_multiply(), ps_builder_add_contour(), ps_builder_close_contour(), ps_read_doseps(), PSCharStringToBB(), PSCharStringToSplines(), PutJpegFile(), PutWmfFile(), RasterLine(), rd_L(), read_cmap_uvs_table(), read_ems_store(), read_sfd_record(), readcffthing(), ReadFontDef(), ReadIconFile(), readpkchar(), readttfbase(), readttfbaseminmax(), readttfcompositglyph(), readttfencodings(), readttfglyph(), readttfhhea(), readttfkerns(), readttfos2metrics(), readttfpostnames(), readttfsimpleglyph(), readttfwidths(), SearchPostscriptResources(), SearchTtfResources(), SearchTtfResourcesFile(), set_charinfo_index(), SetRule(), SetString(), t1_builder_add_contour(), t1_builder_close_contour(), t1_getline(), t1_scan_param(), TIFFPrintDirectory(), TIFFSetupShort(), TIFFSetupShortLong(), TIFFWriteAnyArray(), TIFFWriteDoubleArray(), TIFFWriteFloatArray(), TIFFWriteInkNames(), TIFFWriteLongArray(), TIFFWriteRationalArray(), TIFFWriteShortArray(), TIFFWriteShortTable(), TT_Process_Composite_Component(), ttf_reindex_glyphs(), uchar_clamp(), unknown_toUtf16(), unpackhi_128_8x16(), unpacklo_128_8x16(), vms_export_dcl_symbol(), ErrorHandler.vxformat(), write_ems_store(), XmlInitUnknownEncoding(), XmlUtf16Encode(), and PSFrontEnd.yylex().

◆ singles

dictionary gen-indic-table.singles = {}

Definition at line 87 of file gen-indic-table.py.

Referenced by heap16_stats(), heap32_stats(), heap64_stats(), and heap8_stats().

◆ start

int gen-indic-table.start = int (uu[0], 16)

Definition at line 58 of file gen-indic-table.py.

◆ starts

list gen-indic-table.starts = []

◆ t

list gen-indic-table.t = fields[1]

Definition at line 64 of file gen-indic-table.py.

◆ total

◆ used

◆ uu

◆ v_no_and

gen-indic-table.v_no_and = v.replace ('_And_', '_')

Definition at line 144 of file gen-indic-table.py.

◆ values

list gen-indic-table.values = [{} for _ in files]

Definition at line 45 of file gen-indic-table.py.

Referenced by _cairo_xcb_connection_change_gc(), _cairo_xcb_connection_create_gc(), _cairo_xcb_surface_clear_clip_region(), _cairo_xcb_surface_core_copy_boxes(), _cairo_xcb_surface_ensure_picture(), _copy_to_picture(), _copy_to_pixmap(), _create_gc(), _solid_picture(), ValueRuns.add(), CharacterNode.addValue(), AnnotColor.adjustColor(), AnnotColor.AnnotColor(), LocaleDisplayNamesImpl.appendWithSep(), OT::ValueFormat.apply_value(), OT.array_is_subset_of(), EPSFile.bbox(), Compiler.buildTable(), cf2_interpT2CharString(), cff_dict_get(), cff_dict_remove(), cff_dict_set(), cff_dict_update(), cff_parse_font_matrix(), cmsBuildTabulatedToneCurveFloat(), OT.collect_array(), OT::ValueFormat.collect_variation_indices(), cvr_array(), do_operator(), do_run_callback(), do_scan_internal(), do_texfig_operator(), Gfx.drawAnnot(), glnames.StringNode.dump_debug(), FamilyTableAdd(), FcConfigMatchValueList(), FcConfigSubstituteWithPat(), fea_ParseDeviceTable(), findFontWithName(), cff1_top_dict_values_mod_t.get_value(), GetGetoptsValues(), GICImportBlues(), GICImportStems(), XeTeXFontInst_Mac.initialize(), LoadColornameFile(), LoadXColorPrologue(), glnames.StringNode.locate(), lua_nodelib_values(), UCharsDictionaryMatcher.matches(), BytesDictionaryMatcher.matches(), mps_scan_bbox(), mrb_get_args(), n_enum_field(), NewColor(), glnames.StringNode.optimize(), ConfusabledataBuilder.outputData(), pdDeltaToJson(), pdf_new_array(), pl_openValueRuns_68(), pop_get_numbers(), ps_parser_to_fixed_array(), ps_tofixedarray(), psh_calc_max_height(), release_array(), run_and_save_callback(), run_callback(), run_saved_callback(), OT::ValueFormat.sanitize_value(), OT::ValueFormat.sanitize_value_devices(), OT::ValueFormat.sanitize_values(), OT::ValueFormat.sanitize_values_stride_unsafe(), OT::ValueFormat.serialize_copy(), AnnotAppearanceBuilder.setDrawColor(), spc_handler_xtx_bscale(), spc_handler_xtx_scale(), spc_util_read_numbers(), glnames.StringNode.store(), store_scanline_a2b10g10r10_float(), store_scanline_a2r10g10b10_float(), store_scanline_a8r8g8b8_32_sRGB(), store_scanline_a8r8g8b8_sRGB_float(), store_scanline_generic_float(), store_scanline_x2b10g10r10_float(), store_scanline_x2r10g10b10_float(), ucal_getKeywordValuesForLocale_68(), ucurr_getKeywordValuesForLocale_68(), uprv_makeDenseRanges(), and AnnotColor.writeToObject().

◆ vv

gen-indic-table.vv = sorted (values[i].keys ())

Definition at line 142 of file gen-indic-table.py.

◆ what

◆ what_short

list gen-indic-table.what_short = ["ISC", "IMC"]

Definition at line 137 of file gen-indic-table.py.