/dports/www/lagrange/lagrange-1.7.3/src/ui/ |
H A D | text.h | 160 int lineHeight_Text (int fontId); 161 iRect visualBounds_Text (int fontId, iRangecc text); 174 iTextMetrics measureRange_Text (int fontId, iRangecc text); 175 iTextMetrics measureWrapRange_Text (int fontId, int maxWidth, iRangecc text); 178 iLocalDef iTextMetrics measure_Text(int fontId, const char *text) { in measure_Text() argument 179 return measureRange_Text(fontId, range_CStr(text)); in measure_Text() 193 void cache_Text (int fontId, iRangecc text); /* pre-render glyphs */ 202 void drawRange_Text (int fontId, iInt2 pos, int color, iRangecc text); 234 iTextMetrics measure_WrapText (iWrapText *, int fontId); 235 iTextMetrics draw_WrapText (iWrapText *, int fontId, iInt2 pos, int color); [all …]
|
H A D | text.c | 1824 int lineHeight_Text(int fontId) { in lineHeight_Text() argument 1825 return font_Text_(fontId)->height; in lineHeight_Text() 1842 return run_Font_(font_Text_(fontId), in visualBounds_Text() 1849 void cache_Text(int fontId, iRangecc text) { in cache_Text() argument 1855 if (fontId & alwaysVariableFlag_FontId) { in runFlagsFromId_() 1905 iFont * font = font_Text_(fontId); in drawBoundedN_Text_() 1964 draw_Text_(fontId, pos, color, text); in drawRange_Text() 1973 drawRange_Text(fontId, in drawOutline_Text() 1985 return measure_WrapText(&wrap, fontId); in measureWrapRange_Text() 2029 fontId, in drawCenteredOutline_Text() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/saga/ |
H A D | font.h | 194 virtual int getHeight(FontId fontId) = 0; 217 int getHeight(FontId fontId) override { in getHeight() argument 221 void validate(FontId fontId) { in validate() argument 222 if (!valid(fontId)) { in validate() 227 bool valid(FontId fontId) override { in valid() argument 228 return (uint(fontId) < _fonts.size()); in valid() 231 FontData *getFont(FontId fontId) { in getFont() argument 232 validate(fontId); in getFont() 233 return &_fonts[fontId]; in getFont() 268 int getHeight(FontId fontId) override; [all …]
|
H A D | font.cpp | 44 fontId = kSmallFont; in knownFont2FontIdx() 47 fontId = kMediumFont; in knownFont2FontIdx() 50 fontId = kBigFont; in knownFont2FontIdx() 54 fontId = kSmallFont; in knownFont2FontIdx() 57 fontId = kMediumFont; in knownFont2FontIdx() 68 fontId = kSmallFont; in knownFont2FontIdx() 71 fontId = kMediumFont; in knownFont2FontIdx() 74 fontId = kBigFont; in knownFont2FontIdx() 78 fontId = kIHNMFont8; in knownFont2FontIdx() 89 return fontId; in knownFont2FontIdx() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/sci/graphics/ |
H A D | cache.cpp | 65 GfxFont *GfxCache::getFont(GuiResourceId fontId) { in getFont() argument 69 if (!_cachedFonts.contains(fontId)) { in getFont() 71 if ((fontId == 1001) && (g_sci->getLanguage() == Common::KO_KOR)) in getFont() 72 _cachedFonts[fontId] = new GfxFontKorean(_screen, fontId); in getFont() 74 else if ((fontId == 900) && (g_sci->getLanguage() == Common::JA_JPN)) in getFont() 75 _cachedFonts[fontId] = new GfxFontSjis(_screen, fontId); in getFont() 77 _cachedFonts[fontId] = new GfxFontFromResource(_resMan, _screen, fontId); in getFont() 80 return _cachedFonts[fontId]; in getFont()
|
H A D | text16.cpp | 61 return _ports->_curPort->fontId; in GetFontId() 71 void GfxText16::SetFont(GuiResourceId fontId) { in SetFont() argument 73 _font = _cache->getFont(fontId); in SetFont() 75 _ports->_curPort->fontId = _font->getResourceId(); in SetFont() 451 if (fontId != -1) in Size() 452 SetFont(fontId); in Size() 454 fontId = previousFontId; in Size() 577 if (fontId != -1) in Box() 578 SetFont(fontId); in Box() 580 fontId = previousFontId; in Box() [all …]
|
H A D | controls16.cpp | 56 …nt16 maxChars, int16 count, const Common::String *entries, GuiResourceId fontId, int16 upperPos, i… in drawListControl() argument 85 _text16->SetFont(fontId); in drawListControl() 261 GuiResourceId fontId = readSelectorValue(_segMan, controlObject, SELECTOR(font)); in kernelTexteditChange() local 264 _text16->SetFont(fontId); in kernelTexteditChange() 314 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 style, bool… in kernelDrawButton() argument 329 _text16->Box(text, languageSplitter, false, rect, SCI_TEXT16_ALIGNMENT_CENTER, fontId); in kernelDrawButton() 352 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, TextAlignment ali… in kernelDrawText() argument 357 _text16->Box(text, languageSplitter, false, rect, alignment, fontId); in kernelDrawText() 377 _text16->Box(text, languageSplitter, false, textRect, SCI_TEXT16_ALIGNMENT_LEFT, fontId); in kernelDrawTextEdit() 380 _text16->SetFont(fontId); in kernelDrawTextEdit() [all …]
|
H A D | controls16.h | 58 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 style, bool… 59 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 alignment, … 60 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 mode, int16… 62 …nt16 maxChars, int16 count, const Common::String *entries, GuiResourceId fontId, int16 style, int1… 68 …nt16 maxChars, int16 count, const Common::String *entries, GuiResourceId fontId, int16 upperPos, i…
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/saga/ |
H A D | font.h | 169 int getStringWidth(FontId fontId, const char *text, size_t count, FontEffectFlags flags); 170 int getHeight(FontId fontId, const char *text, int width, FontEffectFlags flags); 179 FontData *getFont(FontId fontId) { in getFont() argument 180 validate(fontId); in getFont() 181 return &_fonts[fontId]; in getFont() 184 int getHeight(FontId fontId) { in getHeight() argument 185 return getFont(fontId)->normal.header.charHeight; in getHeight() 188 void validate(FontId fontId) { in validate() argument 189 if (!valid(fontId)) { in validate() 193 bool valid(FontId fontId) { in valid() argument [all …]
|
H A D | font.cpp | 253 font = getFont(fontId); in getStringWidth() 278 font = getFont(fontId); in draw() 481 h = getHeight(fontId); in getHeight() 576 h = getHeight(fontId); in textDrawRect() 659 fontId = kSmallFont; in knownFont2FontIdx() 665 fontId = kBigFont; in knownFont2FontIdx() 669 fontId = kSmallFont; in knownFont2FontIdx() 682 fontId = kSmallFont; in knownFont2FontIdx() 688 fontId = kBigFont; in knownFont2FontIdx() 692 fontId = kIHNMFont8; in knownFont2FontIdx() [all …]
|
/dports/textproc/p5-Excel-Writer-XLSX/Excel-Writer-XLSX-1.09/t/package/styles/ |
H A D | sub_write_xf.t | 35 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/>'; 52 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/>'; 69 $expected = '<xf numFmtId="0" fontId="1" fillId="0" borderId="0" xfId="0" applyFont="1"/>'; 86 $expected = '<xf numFmtId="2" fontId="0" fillId="0" borderId="0" xfId="0" applyNumberFormat="1"/>'; 103 $expected = '<xf numFmtId="2" fontId="1" fillId="0" borderId="0" xfId="0" applyNumberFormat="1" app… 120 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyAlignment="1"><align… 137 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyAlignment="1"><align… 154 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyAlignment="1"/>'; 429 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyAlignment="1"><align… 582 $expected = '<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" applyProtection="1"><prot… [all …]
|
H A D | styles_04.t | 222 <xf numFmtId="0" fontId="0" fillId="0" borderId="0"/> 225 <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/> 226 <xf numFmtId="0" fontId="0" fillId="0" borderId="1" xfId="0" applyBorder="1"/> 227 <xf numFmtId="0" fontId="0" fillId="0" borderId="2" xfId="0" applyBorder="1"/> 228 <xf numFmtId="0" fontId="0" fillId="0" borderId="3" xfId="0" applyBorder="1"/> 229 <xf numFmtId="0" fontId="0" fillId="0" borderId="4" xfId="0" applyBorder="1"/> 230 <xf numFmtId="0" fontId="0" fillId="0" borderId="5" xfId="0" applyBorder="1"/> 231 <xf numFmtId="0" fontId="0" fillId="0" borderId="6" xfId="0" applyBorder="1"/> 232 <xf numFmtId="0" fontId="0" fillId="0" borderId="7" xfId="0" applyBorder="1"/> 233 <xf numFmtId="0" fontId="0" fillId="0" borderId="8" xfId="0" applyBorder="1"/> [all …]
|
H A D | styles_05.t | 162 <xf numFmtId="0" fontId="0" fillId="0" borderId="0"/> 165 <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/> 166 <xf numFmtId="0" fontId="0" fillId="0" borderId="1" xfId="0" applyBorder="1"/> 167 <xf numFmtId="0" fontId="0" fillId="0" borderId="2" xfId="0" applyBorder="1"/> 168 <xf numFmtId="0" fontId="0" fillId="0" borderId="3" xfId="0" applyBorder="1"/> 169 <xf numFmtId="0" fontId="0" fillId="0" borderId="4" xfId="0" applyBorder="1"/> 170 <xf numFmtId="0" fontId="0" fillId="0" borderId="5" xfId="0" applyBorder="1"/> 171 <xf numFmtId="0" fontId="0" fillId="0" borderId="6" xfId="0" applyBorder="1"/> 172 <xf numFmtId="0" fontId="0" fillId="0" borderId="7" xfId="0" applyBorder="1"/>
|
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/dompdf/lib/php-font-lib/src/FontLib/TrueType/ |
H A D | Collection.php | 50 * @param int $fontId 55 function getFont($fontId) { argument 58 if (!isset($this->collectionOffsets[$fontId])) { 62 if (isset($this->collection[$fontId])) { 63 return $this->collection[$fontId]; 68 $font->setTableOffset($this->collectionOffsets[$fontId]); 70 return $this->collection[$fontId] = $font;
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/graphics/ |
H A D | cache.cpp | 64 GfxFont *GfxCache::getFont(GuiResourceId fontId) { in getFont() argument 68 if (!_cachedFonts.contains(fontId)) { in getFont() 70 if ((fontId == 900) && (g_sci->getLanguage() == Common::JA_JPN)) in getFont() 71 _cachedFonts[fontId] = new GfxFontSjis(_screen, fontId); in getFont() 73 _cachedFonts[fontId] = new GfxFontFromResource(_resMan, _screen, fontId); in getFont() 76 return _cachedFonts[fontId]; in getFont()
|
H A D | text16.cpp | 58 return _ports->_curPort->fontId; in GetFontId() 63 _font = _cache->getFont(_ports->_curPort->fontId); in GetFont() 68 void GfxText16::SetFont(GuiResourceId fontId) { in SetFont() argument 70 _font = _cache->getFont(fontId); in SetFont() 72 _ports->_curPort->fontId = _font->getResourceId(); in SetFont() 424 if (fontId != -1) in Size() 425 SetFont(fontId); in Size() 427 fontId = previousFontId; in Size() 534 if (fontId != -1) in Box() 535 SetFont(fontId); in Box() [all …]
|
H A D | controls16.cpp | 55 …nt16 maxChars, int16 count, const Common::String *entries, GuiResourceId fontId, int16 upperPos, i… in drawListControl() argument 84 _text16->SetFont(fontId); in drawListControl() 227 GuiResourceId fontId = readSelectorValue(_segMan, controlObject, SELECTOR(font)); in kernelTexteditChange() local 230 _text16->SetFont(fontId); in kernelTexteditChange() 280 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 style, bool… in kernelDrawButton() argument 295 _text16->Box(text, languageSplitter, false, rect, SCI_TEXT16_ALIGNMENT_CENTER, fontId); in kernelDrawButton() 318 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, TextAlignment ali… in kernelDrawText() argument 323 _text16->Box(text, languageSplitter, false, rect, alignment, fontId); in kernelDrawText() 343 _text16->Box(text, languageSplitter, false, textRect, SCI_TEXT16_ALIGNMENT_LEFT, fontId); in kernelDrawTextEdit() 346 _text16->SetFont(fontId); in kernelDrawTextEdit() [all …]
|
H A D | controls16.h | 58 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 style, bool… 59 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 alignment, … 60 …::Rect rect, reg_t obj, const char *text, uint16 languageSplitter, int16 fontId, int16 mode, int16… 62 …nt16 maxChars, int16 count, const Common::String *entries, GuiResourceId fontId, int16 style, int1… 68 …nt16 maxChars, int16 count, const Common::String *entries, GuiResourceId fontId, int16 upperPos, i…
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/ |
H A D | Paragraph.java | 64 HyperlinkSettings settings, String fontId) { in parseRegularText() argument 69 HyperlinkSettings settings, String fontId, String colorId) { in parseRegularText() argument 81 fontId, colorId, wrapAllowed)); in parseRegularText() 87 settings, fontId); in parseRegularText() local 95 fontId); in parseRegularText() local 101 addSegment(new TextSegment(text.substring(textLoc), fontId, in parseRegularText() 106 addSegment(new TextSegment(text, fontId, colorId, wrapAllowed)); in parseRegularText() 122 String fontId) { in addHyperlinkSegment() argument 124 fontId); in addHyperlinkSegment() 227 public void clearCache(String fontId) { in clearCache() argument [all …]
|
H A D | TextSegment.java | 37 private String fontId; field in TextSegment 104 this(text, fontId, null, true); in TextSegment() 113 this.fontId = fontId; in TextSegment() 160 void setFontId(String fontId) { in setFontId() argument 161 this.fontId = fontId; in setFontId() 229 if (fontId != null) { in advanceLocator() 384 if (fontId != null) { in paint() 443 if (fontId != null) { in computeSelection() 610 if (fontId != null) { in layout() 702 if (fontId==null && (this.fontId==null||this.fontId.equals(FormTextModel.BOLD_FONT_ID))) in clearCache() [all …]
|
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/ppui/ |
H A D | Font.cpp | 1581 …nt::PPFont(pp_uint8* bits, const pp_uint32 chrWidth, const pp_uint32 chrHeight, pp_uint32 fontId) : in PPFont() argument 1588 this->fontId = fontId; in PPFont() 1598 PPFont* PPFont::getFont(pp_uint32 fontId) in getFont() argument 1603 if (fontInstances[i]->fontId == fontId) in getFont() 1609 pp_uint32 index = fontFamilyDescriptions[fontId].fontEntryIndex; in getFont() 1611 switch (fontId) in getFont() 1615 return new PPFont((pp_uint8*)fontEntries[index].data, 5, 6, fontId); in getFont() 1620 return new PPFont((pp_uint8*)fontEntries[index].data, 8, 8, fontId); in getFont() 1625 return new PPFont((pp_uint8*)fontEntries[index].data, 12, 12, fontId); in getFont() 1632 return new PPFont(bigFont, 16, 16, fontId); in getFont() [all …]
|
/dports/x11-toolkits/gtkmathview/gtkmathview-0.8.0/src/backend/common/ |
H A D | t1lib_T1FontManager.cc | 76 const int fontId = T1_AddFont(const_cast<char*>(name.c_str())); // DANGER, const cast in loadFont() local 77 if (fontId >= 0) T1_LoadFont(fontId); in loadFont() 79 return fontId; in loadFont() 95 const int fontId = getFontId(name); in createT1Font() local 96 if (fontId >= 0) in createT1Font() 97 return t1lib_T1Font::create(fontId, size); in createT1Font()
|
H A D | GlyphSpec.hh | 27 GlyphSpec(void) : shaperId(0), fontId(0), glyphId(0) { } in GlyphSpec() 28 GlyphSpec(unsigned si, unsigned fi, unsigned gi) : shaperId(si), fontId(fi), glyphId(gi) { } in GlyphSpec() 32 unsigned getFontId(void) const { return fontId; } in getFontId() 36 unsigned fontId : 8; member in GlyphSpec
|
/dports/games/scummvm/scummvm-2.5.1/engines/director/ |
H A D | stxt.cpp | 63 uint16 currentFont = _style.fontId; in Stxt() 85 …Common::String format = Common::String::format("\001\016%04x%02x%04x%04x%04x%04x", _style.fontId, … in Stxt() 92 Common::CodePage encoding = detectFontEncoding(cast->_platform, _style.fontId); in Stxt() 106 fontId = 0; in FontStyle() 119 uint16 originalFontId = fontId = stream.readUint16(); in read() 130 fontId = info->toFont; in read() 137 …formatStartOffset, originalHeight, height, ascent, originalFontId, fontId, textSlant, fontSize, r,… in read()
|
/dports/audio/rosegarden/rosegarden-21.06.1/src/gui/editors/notation/ |
H A D | NoteFontMap.cpp | 221 int fontId = 0; 224 fontId = s.toInt(); 274 int fontId = 0; 277 fontId = s.toInt(); 353 if (fontId.isEmpty()) { 357 fn = fontId.trimmed().toInt(&ok); 361 arg(fontId); 441 if (!fontId.isEmpty()) { 446 arg(fontId); in reorderqueue_cmp() 776 int fontId = i->second.getFontId(); [all …]
|