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)  

fc-lang Namespace Reference

Classes

class  CharSet
 

Functions

def get_name (file_name)
 
def get_lang (c_name)
 
def read_orth_file (file_name)
 
def leaves_equal (leaf1, leaf2)
 
def parse_orth_file (file_name, lines)
 

Variables

 parser = argparse.ArgumentParser()
 
 nargs
 
 help
 
 dest
 
 default
 
 args = parser.parse_args()
 
list sets = []
 
list names = []
 
list langs = []
 
list country = []
 
int total_leaves = 0
 
dictionary LangCountrySets = {}
 
 stdout
 
 encoding
 
 tmpl_file = open(args.template_file, 'r', encoding='utf-8')
 
dictionary orth_entries = {}
 
def lines = read_orth_file(fn)
 
def charset = parse_orth_file(fn, lines)
 
def name = get_name(fn)
 
def lang = get_lang(name)
 
def language_family = lang.split('-')[0]
 
list leaves = []
 
list leaf = s.leaves[leaf_num]
 
bool is_unique = True
 
list duplicate = []
 
 dup_num = None
 
int tn = 0
 
dictionary off = {}
 
 line
 
 end
 
list j = duplicate[i]
 
list found = [k for k, unique_leaf in enumerate(leaves) if leaves_equal(unique_leaf,leaf)]
 
string fn = '{}.orth'.format(names[i])
 
list idx = names.index(name)
 
tuple num_lang_set_map = (len(sets) + 31) // 32;
 
list langset_map = [0] * num_lang_set_map
 
int start = 9999
 
int stop = -1
 

Function Documentation

◆ get_lang()

def fc-lang.get_lang (   c_name)

Definition at line 81 of file fc-lang.py.

References lower, and replace().

◆ get_name()

def fc-lang.get_name (   file_name)

Definition at line 77 of file fc-lang.py.

◆ leaves_equal()

def fc-lang.leaves_equal (   leaf1,
  leaf2 
)

Definition at line 101 of file fc-lang.py.

Referenced by fc-lang.CharSet.equals().

◆ parse_orth_file()

def fc-lang.parse_orth_file (   file_name,
  lines 
)

Definition at line 111 of file fc-lang.py.

References format, int(), print, and range.

◆ read_orth_file()

def fc-lang.read_orth_file (   file_name)

Definition at line 84 of file fc-lang.py.

References open, and strip().

Variable Documentation

◆ args

fc-lang.args = parser.parse_args()

Definition at line 148 of file fc-lang.py.

◆ charset

def fc-lang.charset = parse_orth_file(fn, lines)

Definition at line 179 of file fc-lang.py.

◆ country

◆ default

◆ dest

fc-lang.dest

Definition at line 144 of file fc-lang.py.

◆ dup_num

fc-lang.dup_num = None

Definition at line 214 of file fc-lang.py.

◆ duplicate

list fc-lang.duplicate = []

Definition at line 212 of file fc-lang.py.

◆ encoding

fc-lang.encoding

Definition at line 161 of file fc-lang.py.

◆ end

fc-lang.end

Definition at line 239 of file fc-lang.py.

◆ fn

string fc-lang.fn = '{}.orth'.format(names[i])

Definition at line 335 of file fc-lang.py.

Referenced by __declare_otl_consolidation(), __gmpn_fib2m(), __gmpz_fib2_ui(), __gmpz_fib_ui(), __gmpz_remove(), _cmsGetFormatter(), _declare_lookup_writer(), _Ex_CommandLine(), aat_dumpfeat(), add(), Efont::PsresDatabase.add_psres_directory(), asm_fuseahuref(), asm_uref(), bin_write_xml(), call_init(), callback_conv_args(), check_all(), check_idx(), copy_slot(), copy_type1_pfb(), copyfile(), cpcall(), cpfile(), cpparser(), createpipe(), CurStkFile(), CurStkLine(), CurStkName(), debug_frameline(), debug_framepc(), debug_localname(), Ghostscript.delete_instance(), do_file(), dumpg___info(), dumpnames(), ensure_output_file_open(), enumAlgNames(), enumExtNames(), enumGroupNames(), enumNames(), Ghostscript.exit(), ffi_callback_set(), FGetsStk(), Filename.Filename(), findotffeatname(), fix_control_chars(), fold_cse_uref(), fontdef(), QuantityFormatter.formatAndSelect(), func_file(), func_newL(), FUNCTION(), gc_traverse_frames(), gc_traverse_func(), GeneralReadChainingRule(), GeneralReadContextualRule(), getcurrenv(), index2adr(), Ghostscript.init_with_args(), internal_fnmatch(), io_file_iter(), kpathsea_dir_links(), kpathsea_dir_p(), lib_read_lfunc(), lj_ccallback_leave(), lj_ccallback_new(), lj_cf_coroutine_wrap(), lj_cf_debug_upvalueid(), lj_cf_debug_upvaluejoin(), lj_cf_ffi_callback_set(), lj_cf_getfenv(), lj_cf_jit_attach(), lj_cf_jit_util_funcinfo(), lj_cf_setfenv(), lj_cf_string_dump(), lj_debug_addloc(), lj_debug_funcname(), lj_debug_getinfo(), lj_debug_uvnamev(), lj_dispatch_call(), lj_dispatch_ins(), lj_err_argtype(), lj_func_free(), lj_func_newC(), lj_func_newL_empty(), lj_func_newL_gc(), lj_lib_postreg(), lj_lib_pushcc(), lj_lib_register(), load_aux(), lua_a_open_in(), lua_a_open_out(), lua_b_open_out(), lua_pushcclosure(), lua_upvalueid(), luaJIT_setmode(), luaL_traceback(), luatex_open_input(), luatex_open_output(), main(), main_dvips_map(), maketex(), mpfr_get_z_2exp(), mpfr_set_z_2exp(), mrb_debug_info_append_file(), mrb_mt_foreach(), Ghostscript.new_instance(), newIndexByCallback(), open_in_or_pipe(), open_or_close_in(), open_out_or_pipe(), open_sty(), open_vf_file(), open_write_file(), OtfFeatNameListFree(), P_trimname(), partial_hook(), pbm_dissectfont(), pbm_dumpfont(), pbm_loadfont(), PickFOND(), PickTTFFont(), PlainPagestyle(), postorder(), preorder(), process_idx(), ProcessFunctionKey(), propagatemark(), PushFile(), Efont::AfmReader.read(), Efont::AmfmReader.read(), read_bmp(), read_file(), read_png(), read_t1_fontinfo(), read_type1_file(), readconfig(), rec_call_specialize(), rec_upvalue(), recdef_lookup(), replacefonts(), RESERVED_load_aux_JIT(), resolution_reduction(), Ghostscript.revision(), rsearch(), RtfHeader(), Ghostscript.run_string_begin(), Ghostscript.run_string_continue(), Ghostscript.run_string_end(), scanifont(), search_file(), search_flipath(), SearchTtfResources(), Ghostscript.set_stdio(), SetErrorTrap(), setpc_wrap_aux(), Hashtable.setValueDeleter(), SFDGetOtfFeatName(), slur_assert(), snapshot_framelinks(), SpecLookup(), SpecTypeLookup(), T1Open(), tex_def_font(), trace_abort(), transform_path(), Efont::MetricsFinder.try_amfm_file(), Efont::MetricsFinder.try_metrics_file(), u_enumCharNames_68(), ubidi_getClassCallback_68(), uhash_setKeyComparator_68(), uhash_setKeyDeleter_68(), uhash_setKeyHasher_68(), uhash_setValueComparator_68(), uhash_setValueDeleter_68(), unsupported(), vfontdef(), wrapup_leader(), write_bmp(), write_png(), and yyparse().

◆ found

list fc-lang.found = [k for k, unique_leaf in enumerate(leaves) if leaves_equal(unique_leaf,leaf)]

Definition at line 302 of file fc-lang.py.

◆ help

◆ idx

list fc-lang.idx = names.index(name)

Definition at line 343 of file fc-lang.py.

◆ is_unique

bool fc-lang.is_unique = True

Definition at line 202 of file fc-lang.py.

◆ j

fc-lang.j = duplicate[i]

Definition at line 271 of file fc-lang.py.

◆ lang

def fc-lang.lang = get_lang(name)

Definition at line 186 of file fc-lang.py.

◆ LangCountrySets

dictionary fc-lang.LangCountrySets = {}

Definition at line 157 of file fc-lang.py.

◆ langs

◆ langset_map

list fc-lang.langset_map = [0] * num_lang_set_map

Definition at line 359 of file fc-lang.py.

◆ language_family

def fc-lang.language_family = lang.split('-')[0]

Definition at line 190 of file fc-lang.py.

◆ leaf

list fc-lang.leaf = s.leaves[leaf_num]

Definition at line 201 of file fc-lang.py.

◆ leaves

list fc-lang.leaves = []

Definition at line 198 of file fc-lang.py.

◆ line

fc-lang.line

Definition at line 239 of file fc-lang.py.

◆ lines

def fc-lang.lines = read_orth_file(fn)

Definition at line 178 of file fc-lang.py.

◆ name

def fc-lang.name = get_name(fn)

Definition at line 183 of file fc-lang.py.

◆ names

list fc-lang.names = []

Definition at line 151 of file fc-lang.py.

Referenced by _antialias_to_string(), _cairo_scaled_font_subset_create_glyph_names(), _direction_to_string(), _extend_to_string(), _fill_rule_to_string(), _filter_to_string(), _hint_metrics_to_string(), _hint_style_to_string(), _line_cap_to_string(), _line_join_to_string(), _operator_to_string(), _subpixel_order_to_string(), XeTeXFontMgr_Mac.addFontsToCaches(), AllGlyphNames(), AllNamelistNames(), ar_glob(), build_name_tree(), XeTeXFontMgr_FC.cacheFamilyMembers(), classcopy(), GroupCollapser.collapsible(), collectCurrencyNames(), compareName(), ComponentsFromPSTs(), convert_suffix_rule(), TZDBNames.createInstance(), ZNames.createMetaZoneAndPutInCache(), ZNames.createTimeZoneAndPutInCache(), Image::Sampled.cs2devcs(), dir_list_search_list(), do_handle_ttflangname(), dump_primitives(), enumGroupNames(), enumNames(), SVGOptimizer.execute(), expandGroupName(), expandName(), AttributeExtractor.extractable(), extractDotShortcut(), fea_canonicalClassOrder(), fea_glyphs_to_names(), fea_NameID2NameTable(), fea_NameID2OTFName(), FindUnicharName(), FPSTGlyphToClass(), Free_TrueType_Names(), getCurrencyNameCount(), getGroup(), getName(), Catalog.getNames(), GlobalParams.getPSResidentFonts(), gr_fref_label(), gr_fref_value_label(), AttributeExtractor.groupable(), handle_ttflangname(), AttributeExtractor.inheritable(), PSOutputDev.init(), kpathsea_db_search_list(), kpathsea_path_search_list_generic(), l_get_names(), l_set_names(), Load_TrueType_Names(), main(), MarkClassFree(), MarkSetFree(), morx_dumpASM(), NamesStartWith(), NamesToGlyphs(), offsetTOCPrefixBinarySearch(), OrderedGlyphsFromNames(), OrderedInitialGlyphs(), NameTree.parse(), parseCharName(), pdf_delete_name_tree(), pdf_names_add_object(), pdf_names_close_object(), pdf_names_create_tree(), pdf_names_lookup_object(), pdf_names_lookup_reference(), pdf_names_reserve(), pdf_new_name_tree(), PickCFFFont(), PickFOND(), PickTTFFont(), prepareFind(), prim_cmd_chr(), print_array(), print_cmd_chr(), printinst(), readcfffontnames(), XeTeXFontMgr_Mac.readNames(), XeTeXFontMgr_FC.readNames(), XeTeXFontMgr_FC.searchForHostPlatformFonts(), SearchTtfResources(), SearchTtfResourcesFile(), SFD_GetFont(), SFGlyphsFromNames(), SplineFontFromMMType1(), store_primitive_name(), undump_primitives(), and ZNames.ZNames().

◆ nargs

fc-lang.nargs

Definition at line 143 of file fc-lang.py.

◆ num_lang_set_map

tuple fc-lang.num_lang_set_map = (len(sets) + 31) // 32;

Definition at line 350 of file fc-lang.py.

Referenced by main().

◆ off

dictionary fc-lang.off = {}

Definition at line 226 of file fc-lang.py.

Referenced by __attribute(), __gmp_primesieve(), __gmpf_get_str(), __gmpn_add_n_sub_n(), __gmpn_toom_couple_handling(), _TIFFNoSeek(), _tiffSeekProc(), AddConversion(), AddToStem(), ASMFromClassFPST(), ASMFromCoverageFPST(), hb_serialize_context_t.assign_offset(), Efont::CharstringInterp.blend_command(), block_resieve(), build_target_list(), BuildLine(), BZ2_decompress(), calc_lon(), cdata_index(), cdata_newindex(), Efont::Cff::Dict.check(), check_binhex(), ChordMid(), codegen(), combine(), ComputeBlackPointCompensation(), ComputeConversion(), ContinueValue(), CvtPsStem3(), DefaultICCintents(), DisplayLineWithControl(), do_file(), envadjust(), FcFreeTypeCharSet(), FcVStackFetch(), fea_canonicalClassSet(), fea_ParseNameId(), featuresAssignFlagsChains(), ffi_offsetof(), FigureControls(), findbb(), FPSTBuildAllClasses(), g___FigureExtensionSubTables(), gen_jmpdst(), GenerateNewCursorPosition(), get_extern(), get_float(), get_member(), get_next_mword(), getptex(), GlyphsToNames(), GradImproveInter(), GrowBuffer(), IsEmptyLayer(), IsStubOrIntersection(), Efont::OpenType::KernTable.KernTable(), KPInsert(), LineFitsHV(), Load_TrueType_CMap(), LoadKerningDataFromAfm(), lookup_cdata_index(), lookup_special_var(), main(), make_asn1_date(), makepdftime(), CFF::CFFIndex< COUNT >.max_offset(), Efont::CharstringInterp.mm_command(), morx_dumpASM(), mpn_pow_1_highpart(), mrb_mod_const_get(), mrb_str_cat(), NeXTDecode(), OCGs.OCGs(), OnStem(), OutputACharacter(), pfed_readguidelines(), primitive(), read_cmap_table(), readttfsimpleglyph(), XRef.readXRefTable(), RecalcStemOffsets(), RemoveStupidControlPoints(), replacefonts(), reserve_code(), SCGuessHintInstancesLight(), SCGuessHintPoints(), seekdir(), VectorStreamBuffer< T >.seekoff(), set_struct(), sethhead(), setupb_(), SFDGetChar(), SPFigureCP(), SplineFigureOpticalSlope(), stack_extend_alloc(), StemPreferredForPoint(), Store(), StripToASCII(), Efont::OpenType::KernTable.subtable(), TestForLinear(), TIFFAdvanceDirectory(), TIFFLinkDirectory(), TIFFReadDirectory(), TIFFRewriteDirectory(), TIFFSetWriteOffset(), TIFFUnlinkDirectory(), TIFFWriteShortTable(), ttf_math_read_constants(), TTFGetFontName(), TTFGetPSFontName(), unpack_run(), Efont::OpenType::KernTable.unparse_automatics(), WalkSpline(), SRBRoot.write(), writecff_CIDKeyed(), zzip_file_saveoffset(), zzip_seek32(), zzip_tell32(), and zzip_telldir32().

◆ orth_entries

dictionary fc-lang.orth_entries = {}

Definition at line 173 of file fc-lang.py.

◆ parser

fc-lang.parser = argparse.ArgumentParser()

Definition at line 142 of file fc-lang.py.

◆ sets

◆ start

fc-lang.start = 9999

Definition at line 374 of file fc-lang.py.

◆ stdout

fc-lang.stdout

Definition at line 161 of file fc-lang.py.

Referenced by __gmp_printf(), __gmp_vprintf(), __gmpf_out_str(), __gmpq_out_str(), __gmpz_out_raw(), __gmpz_out_str(), _FcValuePrintFile(), _outputs(), _synctex_log(), abbrok(), aptex_commands_init(), beginDocument(), binary_stdio(), BlockComputeSNR(), bmp_outline(), build_printHelp(), build_printInfo(), bundle_write_xml(), BZ2_bzclose(), bzopen_or_bzdopen(), cache_print_set(), ChangeDirectory(), close_stdout(), CloseRtf(), cmap_to_ppm(), cmd_cleanup(), cmd_version(), HtmlPage.coalesce(), TextPage.coalesce(), compress(), compress0(), compressStream(), ComputeGOPFrames(), convertpng(), convertpnm(), copy(), createFileNames(), ctp_explain(), date(), dbgcmd_print(), dbgcmd_quit(), GlobalParams.debugLogPrintf(), DecodeArgs(), deep_to_ppm(), default_gs_addmess(), direct_to_ppm(), displayJob(), do_dump_table(), do_file(), do_initex(), do_list(), do_run_callback(), do_subst(), do_texio_ini_print(), do_update(), dofc(), dohistory(), dopts(), Gfx.doSetFont(), dotty(), dover(), DrawPages(), dtitvfmtCustomized(), dtitvfmtPreDefined(), MiniPS.dump(), TextPage.dump(), dump_append_queue(), dump_prefix(), dump_printHelp(), dump_printInfo(), dumppaperinfo(), dvi_stdout(), EchoIncomingPackets(), encode_row(), EncodeCDC(), EncodeYDC(), error(), ErrorExit(), execute_program(), Exit(), expect(), extract_doseps(), f_init(), Fatal(), Fax3Decode1D(), Fax3Decode2D(), Fax3DecodeRLE(), Fax4Decode(), FcFileScanFontConfig(), FcValuePrint(), FcValuePrintWithPosition(), FindAcrobatModule(), findPattern(), first_line_test(), fix_dumpname(), flush_stdout(), flushall(), flushrow(), FlushStreams(), foputs(), FramesToMPEG(), g_print(), gabc_notes_determination_lex(), gabc_score_determination_lex(), gen_consts(), GenBFrame(), gencraters(), GenIFrame(), GenMPEGStream(), GenPFrame(), genplanet(), get_and_parse_command(), get_image(), get_line(), get_next(), get_output(), SVGOutput.getPageStream(), getPkgDataPath(), GetRemoteDecodedRefFrame(), GetRemoteFrame(), Gfx.go(), go_offline_with_marker(), GOPStoMPEG(), gregorio_vowel_rulefile_lex(), ham_to_ppm(), header(), help(), help_formats(), help_message(), HtmlOutputDev.HtmlOutputDev(), image_to_pnm(), indwrite(), init_settings(), init_terminal(), InitFiles(), initializePkgDataFlags(), initkanji(), interp(), JM2JPEG(), kpathsea_set_program_name(), kpathsea_win32_fputs(), kpathsea_win32_putc(), kpathsea_win32_puts(), kpathsea_win32_vfprintf(), kpse_available(), lj_cf_print(), loadLists(), log_testinfo(), log_testinfo_i(), lua_initialize(), luaopen_io(), main(), make_eps_copy(), make_eps_interchange(), make_eps_metafile(), make_eps_tiff(), make_eps_user(), maketex(), Message(), Mhead_GenMBHeader(), Mhead_GenSequenceHeader(), mmListBlock(), mp_rle_huff_pblock(), mpfr_dump(), mplib_find_file(), mplib_run_script(), mplib_warning(), mrb_core_init_printabort(), mrb_io_s_popen(), mrb_p(), mrb_show_copyright(), mrb_show_version(), msg_out(), msListBlock(), my_fopen_write(), node_mem_dump(), normal(), NoteFrameDone(), NotifyDecodeServerReady(), NotifyMasterDone(), omega_output_utf8(), Gfx.opBeginMarkedContent(), open_output(), openfiles(), OpenOut(), OpenRtfFile(), Gfx.opMarkPoint(), optFatalFunc(), otfcc_dump(), outdvibyte(), output_dump(), output_encoding(), output_init(), output_line(), output_ppm(), output_sixel_record(), outrun(), outstripe(), p(), pageout(), panic(), RBBIRuleScanner.parse(), pcx_16col_to_ppm(), pcx_256col_to_ppm(), pcx_truecol_to_ppm(), pdf_out_init(), pdfserver(), pgm_general_convolve(), pgm_hist(), pgm_horizontal_convolve(), pgm_mean_convolve(), pgm_vertical_convolve(), phase_two(), pkg_executeOptions(), pm_openw(), pmain(), ppm_general_convolve(), ppm_hist(), ppm_horizontal_convolve(), ppm_mean_convolve(), 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_vertical_convolve(), print(), print_cmdline(), print_commands(), print_dir_data_base(), print_file(), print_file_data_base(), print_jit_status(), print_map(), print_rule(), print_usage(), print_variable(), print_variable_set(), print_version(), print_vpath_data_base(), printArray(), printAttribute(), printDestinations(), PrintEndStats(), printheader(), printHelp(), printInfo(), printInfoDate(), printInfoString(), printISODate(), PrintItoIBitRate(), printKeys(), PrintMaxMemory(), printpage(), printprologue(), printscript(), printsetup(), PrintStartStats(), printstr(), printUsage(), printversionandexit(), printZTUChar(), process_COM(), process_dvi_file(), process_files(), process_idx(), processargs(), ProcessRefFrame(), ps2png(), PSOutputDev.PSOutputDev(), ptspnm_save_image(), put_big_long(), put_big_short(), put_multibyte(), putc2(), putglyph(), putinit(), putitem(), putstring(), queryargs(), read_directory(), read_head_table(), read_hhea_table(), read_post_table(), read_row_callback(), ReadDecodedRefFrame(), ReadFrame(), ReadImage(), ReadInputFileNames(), ReadIOConvert(), ReadPPM(), readppm_and_calcbb(), reap_children(), remove_intermediates(), replaceFieldTypesExample(), ResetSettings(), results(), RingWarningBell(), roffCapsule(), roffDlistItem(), roffExample(), roffFTitle(), roffListItem(), roffPlain(), roffTable(), roffTitle(), UPerfTest.run(), run_sam2p_engine(), UPerfTest.runTestLoop(), runTests(), savePageSlice(), scanDirs(), section_lookup(), SendDecodedFrame(), SendRemoteFrame(), SetBrowseGlob(), setup_tmpfile(), SetupCollectQuantStats(), SetupWriteDistortions(), show_hyphen(), show_version(), showICU(), ShowRemainingTime(), skipdocument(), slideout(), specialout(), start_job_command(), start_remote_job(), StartCombineServer(), StartDecodeServer(), StartIOServer(), StartMasterServer(), std_to_ppm(), stdout_writer(), strcache_print_stats(), sync_init(), synctex_help(), synctex_help_edit(), synctex_help_update(), synctex_help_view(), synctex_usage(), T_FileStream_stdout(), table(), tex_printf(), TextOutputDev.TextOutputDev(), TraceData(), TraceEntry(), TraceExit(), trans2dvi(), translate(), ttf_find_name(), u_stdout_init(), uncompress(), uncompressStream(), UnQuantZig(), unzzip_cat(), update_autofont_map(), update_terminal(), uprv_free_68(), uprv_malloc_68(), uprv_realloc_68(), usage(), UPerfTest.usage(), usage_exit(), usage_help(), usageAndDie(), usagehelp(), utils_fp_name(), verror(), version(), vlog_err(), vlog_info(), vlog_verbose(), WaitForDecodedFrame(), WaitForOutputFile(), Warning(), work(), write_bmp(), write_body(), write_callback_test(), write_data(), write_interp_line(), write_png(), write_prompt(), write_row_callback(), write_stdout(), write_xbb(), WriteDecodedFrame(), writePageImage(), writepostamble(), WritePreAmble(), writetga(), wterm(), wterm_cr(), yy_init_globals(), yyerror(), PSFrontEnd.yylex(), yylex(), zzip_mem_entry_pipeall(), and zzip_mem_entry_pipefiles().

◆ stop

fc-lang.stop = -1

Definition at line 375 of file fc-lang.py.

◆ tmpl_file

fc-lang.tmpl_file = open(args.template_file, 'r', encoding='utf-8')

Definition at line 165 of file fc-lang.py.

◆ tn

◆ total_leaves

int fc-lang.total_leaves = 0

Definition at line 155 of file fc-lang.py.

Referenced by main().