/dports/print/texlive-base/texlive-20150521-source/texk/dvipos/ |
H A D | tfm.h | 45 extern double tfm_get_space (int font_id); 46 extern double tfm_get_it_slant (int font_id); 47 extern double tfm_get_x_height (int font_id); 50 extern UNSIGNED_PAIR tfm_get_lastchar (int font_id); 52 extern double tfm_get_design_size (int font_id); 53 extern double tfm_get_max_height (int font_id); 54 extern double tfm_get_max_width (int font_id); 55 extern int tfm_is_fixed_width (int font_id); 56 extern double tfm_get_max_depth (int font_id); 57 extern char is_jfm (int font_id); [all …]
|
H A D | tfm.c | 606 if (tfm[font_id].id == JFM_ID || tfm[font_id].id == JFMV_ID ) in tfm_get_width() 608 if (tfm[font_id].unpacked_widths && ch <= tfm[font_id].ec) in tfm_get_width() 615 if (tfm[font_id].id == JFM_ID || tfm[font_id].id == JFMV_ID ) in tfm_get_height() 617 if (tfm[font_id].unpacked_heights && ch <= tfm[font_id].ec) in tfm_get_height() 624 if (tfm[font_id].id == JFM_ID || tfm[font_id].id == JFMV_ID ) in tfm_get_depth() 626 if (tfm[font_id].unpacked_depths && ch <= tfm[font_id].ec) in tfm_get_depth() 633 if (tfm[font_id].id == JFM_ID || tfm[font_id].id == JFMV_ID ) in tfm_get_fw_width() 635 if (tfm[font_id].unpacked_widths && ch <= tfm[font_id].ec) { in tfm_get_fw_width() 645 if (tfm[font_id].unpacked_heights && ch <= tfm[font_id].ec) in tfm_get_fw_height() 654 if (tfm[font_id].unpacked_depths && ch <= tfm[font_id].ec) in tfm_get_fw_depth() [all …]
|
/dports/games/vultures-eye/vulture-2.3.67/vulture/ |
H A D | vulture_txt.cpp | 38 if (font_id >= VULTURE_MAX_FONTS) in vulture_load_font() 46 if (vulture_fonts[font_id].fontptr) in vulture_load_font() 49 vulture_fonts[font_id].fontptr = newfont; in vulture_load_font() 64 if (font_id >= VULTURE_MAX_FONTS || (!vulture_fonts[font_id].fontptr) || str.empty()) in vulture_put_text() 186 int vulture_get_lineheight(int font_id) in vulture_get_lineheight() argument 188 if (font_id < VULTURE_MAX_FONTS && vulture_fonts[font_id].fontptr) in vulture_get_lineheight() 189 return vulture_fonts[font_id].lineheight; in vulture_get_lineheight() 197 int font_id; in vulture_free_fonts() local 199 for (font_id = 0; font_id < VULTURE_MAX_FONTS; font_id++) in vulture_free_fonts() 201 if (vulture_fonts[font_id].fontptr) in vulture_free_fonts() [all …]
|
H A D | vulture_txt.h | 33 extern int vulture_load_font (int font_id, const char *ttf_filename, 36 extern int vulture_put_text (int font_id, std::string str, SDL_Surface *dest, 39 extern int vulture_put_text_shadow (int font_id, std::string str, SDL_Surface *dest, 41 extern void vulture_put_text_multiline(int font_id, std::string str, SDL_Surface *dest, 44 extern int vulture_text_length (int font_id, std::string str); 46 extern int vulture_text_height (int font_id, std::string str); 48 extern int vulture_get_lineheight(int font_id);
|
/dports/print/tex-dvipdfmx/texlive-20150521-source/texk/dvipdfm-x/ |
H A D | tfm.h | 33 extern double tfm_get_width (int font_id, int32_t ch); 35 extern double tfm_get_height (int font_id, int32_t ch); 36 extern double tfm_get_depth (int font_id, int32_t ch); 39 extern fixword tfm_get_fw_width (int font_id, int32_t ch); 40 extern fixword tfm_get_fw_height (int font_id, int32_t ch); 41 extern fixword tfm_get_fw_depth (int font_id, int32_t ch); 43 extern fixword tfm_string_width (int font_id, const unsigned char *s, unsigned len); 47 extern double tfm_get_space (int font_id); 50 extern double tfm_get_design_size (int font_id); 52 extern char *tfm_get_codingscheme (int font_id); [all …]
|
H A D | pdffont.c | 121 int font_id; member 298 CHECK_ID(font_id); in pdf_get_font_reference() 320 CHECK_ID(font_id); in pdf_get_font_usedchars() 342 CHECK_ID(font_id); in pdf_get_font_wmode() 450 int font_id; in pdf_close_fonts() local 452 for (font_id = 0; in pdf_close_fonts() 453 font_id < font_cache.count; font_id++) { in pdf_close_fonts() 526 for (font_id = 0; font_id < font_cache.count; font_id++) { in pdf_close_fonts() 647 font_id < font_cache.count; font_id++) { in pdf_font_findresource() 690 font_id < font_cache.count; font_id++) { in pdf_font_findresource() [all …]
|
H A D | tfm.c | 976 CHECK_ID(font_id); in tfm_get_fw_width() 978 fm = &(fms[font_id]); in tfm_get_fw_width() 1007 CHECK_ID(font_id); in tfm_get_fw_height() 1009 fm = &(fms[font_id]); in tfm_get_fw_height() 1038 CHECK_ID(font_id); in tfm_get_fw_depth() 1096 CHECK_ID(font_id); in tfm_string_width() 1123 CHECK_ID(font_id); in tfm_string_depth() 1150 CHECK_ID(font_id); in tfm_string_height() 1173 CHECK_ID(font_id); in tfm_get_design_size() 1182 CHECK_ID(font_id); [all …]
|
H A D | pdffont.h | 63 extern int pdf_get_font_subtype (int font_id); 64 extern pdf_obj *pdf_get_font_reference (int font_id); 65 extern char *pdf_get_font_usedchars (int font_id); 68 extern char *pdf_get_font_fontname (int font_id); /* without unique tag */ 70 extern int pdf_get_font_encoding (int font_id); 71 extern int pdf_get_font_wmode (int font_id);
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/rusttype-0.7.7/benches/ |
H A D | cache.rs | 87 let font_id = 0; in high_position_tolerance() localVariable 118 let font_id = 0; in single_font() localVariable 177 font_id, in multi_font() 219 font_id, in multi_font_population() 268 for &(font_id, ref glyphs) in glyphs { in moving_text() 276 for &(font_id, ref glyphs) in glyphs { in moving_text() 283 font_id, in moving_text() 335 font_id, in resizing() 386 for &(font_id, ref glyphs) in glyphs { in moving_text_thrashing() 394 for &(font_id, ref glyphs) in glyphs { in moving_text_thrashing() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/rusttype-0.7.9/benches/ |
H A D | cache.rs | 87 let font_id = 0; in high_position_tolerance() localVariable 118 let font_id = 0; in single_font() localVariable 177 font_id, in multi_font() 219 font_id, in multi_font_population() 268 for &(font_id, ref glyphs) in glyphs { in moving_text() 276 for &(font_id, ref glyphs) in glyphs { in moving_text() 283 font_id, in moving_text() 335 font_id, in resizing() 386 for &(font_id, ref glyphs) in glyphs { in moving_text_thrashing() 394 for &(font_id, ref glyphs) in glyphs { in moving_text_thrashing() [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/rusttype-0.7.3/benches/ |
H A D | cache.rs | 90 let font_id = 0; in high_position_tolerance() localVariable 121 let font_id = 0; in single_font() localVariable 180 font_id, in multi_font() 222 font_id, in multi_font_population() 271 for &(font_id, ref glyphs) in glyphs { in moving_text() 279 for &(font_id, ref glyphs) in glyphs { in moving_text() 286 font_id, in moving_text() 338 font_id, in resizing() 389 for &(font_id, ref glyphs) in glyphs { in moving_text_thrashing() 397 for &(font_id, ref glyphs) in glyphs { in moving_text_thrashing() [all …]
|
/dports/games/chapping/chapping-0.43-source/library/ |
H A D | fontmanager.h | 23 typedef unsigned font_id; typedef 32 font_id loadTTF(string name,int tam); 33 SDL_Surface* getTextSolid(string text,font_id font); 34 SDL_Surface* getTextSolid(string text,font_id font,SDL_Color color); 35 SDL_Surface* getTextShaded(string text,font_id font); 36 SDL_Surface* getTextShaded(string text,font_id font,SDL_Color color); 37 SDL_Surface* getTextShaded(string text,font_id font,SDL_Color color, 39 SDL_Surface* getTextBlended(string text,font_id font); 40 SDL_Surface* getTextBlended(string text,font_id font,SDL_Color color); 42 SDL_Surface* getText(string text,font_id font) in getText() [all …]
|
H A D | fontmanager.cpp | 26 FontManager::font_id FontManager::loadTTF(string name,int s) in loadTTF() 42 SDL_Surface* FontManager::getTextSolid(string text,font_id font) in getTextSolid() 50 SDL_Surface* FontManager::getTextSolid(string text,font_id font,SDL_Color color) in getTextSolid() 57 SDL_Surface* FontManager::getTextShaded(string text,font_id font) in getTextShaded() 66 SDL_Surface* FontManager::getTextShaded(string text,font_id font,SDL_Color color) in getTextShaded() 74 SDL_Surface* FontManager::getTextShaded(string text,font_id font,SDL_Color color,SDL_Color back) in getTextShaded() 81 SDL_Surface* FontManager::getTextBlended(string text,font_id font) in getTextBlended() 89 SDL_Surface* FontManager::getTextBlended(string text,font_id font,SDL_Color color) in getTextBlended()
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/core/ |
H A D | FontResource.cpp | 58 const std::string& font_id = kvp.first; in load_fonts() local 65 const std::string file_name_start = std::string("fonts/") + font_id; in load_fonts() 100 + font_id + "' (tried with extensions .png, .ttf, .otf, .ttc and .fon)" in load_fonts() 116 fonts.emplace(font_id, std::move(font)); in load_fonts() 146 bool FontResource::exists(const std::string& font_id) { in exists() argument 152 return fonts.find(font_id) != fonts.end(); in exists() 160 bool FontResource::is_bitmap_font(const std::string& font_id) { in is_bitmap_font() argument 166 const auto& kvp = fonts.find(font_id); in is_bitmap_font() 176 SurfacePtr FontResource::get_bitmap_font(const std::string& font_id) { in get_bitmap_font() argument 182 const auto& kvp = fonts.find(font_id); in get_bitmap_font() [all …]
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/common/ |
H A D | trainingsampleset.cpp | 200 if (font_id < 0 || class_id < 0 || font_id >= font_id_map_.SparseSize() || in NumClassSamples() 205 int font_index = font_id_map_.SparseToCompact(font_id); in NumClassSamples() 398 fc_dist.font_id = font_id1; in ClusterDistance() 574 int font_id = samples_[s]->font_id(); in OrganizeByFontAndClass() local 576 if (font_id < 0 || font_id >= font_id_map_.SparseSize()) { in OrganizeByFontAndClass() 580 ASSERT_HOST(font_id >= 0 && font_id < font_id_map_.SparseSize()); in OrganizeByFontAndClass() 603 const int font_id = sample->font_id(); in SetupFontIdMap() local 604 while (font_id >= font_counts.size()) { in SetupFontIdMap() 607 ++font_counts[font_id]; in SetupFontIdMap() 663 if (samples_[s2]->class_id() != c || samples_[s2]->font_id() != font_id || s2 == s1) { in ComputeCanonicalSamples() [all …]
|
H A D | errorcounter.cpp | 182 int font_id = sample->font_id(); in AccumulateErrors() local 190 ++font_counts_[font_id].n[CT_REJECT]; in AccumulateErrors() 228 ++font_counts_[font_id].n[CT_UNICHAR_TOP_OK]; in AccumulateErrors() 241 ++font_counts_[font_id].n[CT_OK_MULTI_FONT]; in AccumulateErrors() 245 ++font_counts_[font_id].n[CT_FONT_ATTR_ERR]; in AccumulateErrors() 249 ++font_counts_[font_id].n[CT_UNICHAR_TOP1_ERR]; in AccumulateErrors() 275 ++font_counts_[font_id].n[CT_OK_JOINED]; in AccumulateErrors() 278 ++font_counts_[font_id].n[CT_OK_BROKEN]; in AccumulateErrors() 315 const int font_id = sample->font_id(); in AccumulateJunk() local 323 ++font_counts_[font_id].n[CT_ACCEPTED_JUNK]; in AccumulateJunk() [all …]
|
H A D | trainingsampleset.h | 87 int NumClassSamples(int font_id, int class_id, bool randomize) const; 94 const TrainingSample *GetSample(int font_id, int class_id, int index) const; 98 TrainingSample *MutableSample(int font_id, int class_id, int index); 106 const BitVector &GetCloudFeatures(int font_id, int class_id) const; 109 const std::vector<int> &GetCanonicalFeatures(int font_id, int class_id) const; 143 int GlobalSampleIndex(int font_id, int class_id, int index) const; 147 const TrainingSample *GetCanonicalSample(int font_id, int class_id) const; 150 float GetCanonicalDist(int font_id, int class_id) const; 214 int font_id; // Real font id. member
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ppapi/thunk/ |
H A D | ppb_browser_font_trusted_thunk.cc | 38 PP_Bool Describe(PP_Resource font_id, in Describe() argument 41 EnterBrowserFont enter(font_id, true); in Describe() 46 PP_Bool DrawTextAt(PP_Resource font_id, in DrawTextAt() argument 53 EnterBrowserFont enter(font_id, true); in DrawTextAt() 60 int32_t MeasureText(PP_Resource font_id, in MeasureText() argument 62 EnterBrowserFont enter(font_id, true); in MeasureText() 66 uint32_t CharacterOffsetForPixel(PP_Resource font_id, in CharacterOffsetForPixel() argument 69 EnterBrowserFont enter(font_id, true); in CharacterOffsetForPixel() 75 int32_t PixelOffsetForCharacter(PP_Resource font_id, in PixelOffsetForCharacter() argument 78 EnterBrowserFont enter(font_id, true); in PixelOffsetForCharacter()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ppapi/thunk/ |
H A D | ppb_browser_font_trusted_thunk.cc | 38 PP_Bool Describe(PP_Resource font_id, in Describe() argument 41 EnterBrowserFont enter(font_id, true); in Describe() 46 PP_Bool DrawTextAt(PP_Resource font_id, in DrawTextAt() argument 53 EnterBrowserFont enter(font_id, true); in DrawTextAt() 60 int32_t MeasureText(PP_Resource font_id, in MeasureText() argument 62 EnterBrowserFont enter(font_id, true); in MeasureText() 66 uint32_t CharacterOffsetForPixel(PP_Resource font_id, in CharacterOffsetForPixel() argument 69 EnterBrowserFont enter(font_id, true); in CharacterOffsetForPixel() 75 int32_t PixelOffsetForCharacter(PP_Resource font_id, in PixelOffsetForCharacter() argument 78 EnterBrowserFont enter(font_id, true); in PixelOffsetForCharacter()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/ |
H A D | interface_icons_event.c | 83 const int font_id = BLF_default(); in icon_draw_rect_input_text() local 84 BLF_color4fv(font_id, color); in icon_draw_rect_input_text() 85 BLF_size(font_id, font_size * U.pixelsize, U.dpi); in icon_draw_rect_input_text() 87 BLF_width_and_height(font_id, str, BLF_DRAW_STR_DUMMY_MAX, &width, &height); in icon_draw_rect_input_text() 90 BLF_position(font_id, x, y, 0.0f); in icon_draw_rect_input_text() 91 BLF_draw(font_id, str, BLF_DRAW_STR_DUMMY_MAX); in icon_draw_rect_input_text() 98 const int font_id = blf_mono_font; in icon_draw_rect_input_symbol() local 99 BLF_color4fv(font_id, color); in icon_draw_rect_input_symbol() 100 BLF_size(font_id, 19 * U.pixelsize, U.dpi); in icon_draw_rect_input_symbol() 103 BLF_position(font_id, x, y, 0.0f); in icon_draw_rect_input_symbol() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/ |
H A D | font_global_context.cc | 60 SkFontID font_id = typeface->uniqueID(); in GetOrComputeTypefaceDigest() local 62 IdentifiableToken* cached_value = typeface_digest_cache_.Get(font_id); in GetOrComputeTypefaceDigest() 64 typeface_digest_cache_.Put(font_id, source.ComputeTypefaceDigest()); in GetOrComputeTypefaceDigest() 65 cached_value = typeface_digest_cache_.Get(font_id); in GetOrComputeTypefaceDigest() 78 SkFontID font_id = typeface->uniqueID(); in GetOrComputePostScriptNameDigest() local 80 IdentifiableToken* cached_value = postscript_name_digest_cache_.Get(font_id); in GetOrComputePostScriptNameDigest() 83 font_id, IdentifiabilityBenignStringToken(source.GetPostScriptName())); in GetOrComputePostScriptNameDigest() 84 cached_value = postscript_name_digest_cache_.Get(font_id); in GetOrComputePostScriptNameDigest()
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/resources/quest_converter/1_3_to_1_4/ |
H A D | font_list_converter_1_3.lua | 22 local font_id = file_name_to_id(file_name) 34 if font_ids[font_id] ~= nil then 35 error("Duplicate font '" .. font_id .. "'") 40 default_font_id = font_id 43 font_ids[font_id] = true 77 for font_id, _ in pairs(font_ids) do 78 font_ids_array[#font_ids_array + 1] = font_id
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/graphics/ |
H A D | TextSurface.cpp | 65 font_id(FontResource::get_default_font_id()), in TextSurface() 76 if (font_id.empty()) { in TextSurface() 86 return font_id; in get_font() 93 void TextSurface::set_font(const std::string& font_id) { in set_font() argument 95 if (font_id == this->font_id) { in set_font() 99 this->font_id = font_id; in set_font() 392 if (font_id.empty()) { in rebuild() 402 Debug::check_assertion(FontResource::exists(font_id), in rebuild() 403 std::string("No such font: '") + font_id + "'" in rebuild() 406 if (FontResource::is_bitmap_font(font_id)) { in rebuild() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/common/ |
H A D | font_list_unittest.cc | 27 std::string font_id = font_names[0].GetString(); in HasFontWithName() local 29 if (font_id == expected_font_id && display_name == expected_display_name) in HasFontWithName() 89 const std::string& font_id = font_names[0].GetString(); in TEST() local 92 EXPECT_FALSE(base::LowerCaseEqualsASCII(font_id, "lastresort")) in TEST() 93 << font_id << " seems to be LastResort, which should be filtered"; in TEST() 94 EXPECT_FALSE(font_id[0] == '.') in TEST() 95 << font_id << " seems like a hidden font, which should be filtered"; in TEST()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/common/ |
H A D | font_list_unittest.cc | 27 std::string font_id = font_names[0].GetString(); in HasFontWithName() local 29 if (font_id == expected_font_id && display_name == expected_display_name) in HasFontWithName() 89 const std::string& font_id = font_names[0].GetString(); in TEST() local 92 EXPECT_FALSE(base::LowerCaseEqualsASCII(font_id, "lastresort")) in TEST() 93 << font_id << " seems to be LastResort, which should be filtered"; in TEST() 94 EXPECT_FALSE(font_id[0] == '.') in TEST() 95 << font_id << " seems like a hidden font, which should be filtered"; in TEST()
|