/dports/security/zaproxy/zaproxy-2.11.1/zap/src/main/java/org/zaproxy/zap/utils/ |
H A D | FontUtils.java | 99 defaultFonts.put(fontType, font); in setDefaultFont() 101 if (fontType == FontType.general) { in setDefaultFont() 124 private static Font getDefaultFont(FontType fontType) { in getDefaultFont() argument 125 if (defaultFonts.get(fontType) == null) { in getDefaultFont() 127 if (defaultFonts.get(fontType) == null) { in getDefaultFont() 131 return defaultFonts.get(fontType); in getDefaultFont() 160 public static Font getFont(FontType fontType) { in getFont() argument 161 return getDefaultFont(fontType); in getFont() 174 if (isDefaultFontSet(fontType)) { in getFontWithFallback() 175 return getFont(fontType); in getFontWithFallback() [all …]
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/pdf/ |
H A D | PDFFont.java | 148 protected PDFName getPDFNameForFontType(FontType fontType) { in getPDFNameForFontType() argument 149 if (fontType == FontType.TYPE0) { in getPDFNameForFontType() 150 return new PDFName(fontType.getName()); in getPDFNameForFontType() 151 } else if (fontType == FontType.TYPE1) { in getPDFNameForFontType() 152 return new PDFName(fontType.getName()); in getPDFNameForFontType() 153 } else if (fontType == FontType.MMTYPE1) { in getPDFNameForFontType() 154 return new PDFName(fontType.getName()); in getPDFNameForFontType() 155 } else if (fontType == FontType.TYPE3) { in getPDFNameForFontType() 156 return new PDFName(fontType.getName()); in getPDFNameForFontType() 157 } else if (fontType == FontType.TRUETYPE) { in getPDFNameForFontType() [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/gui/ |
H A D | ui_text.cpp | 84 const CharValidator validator( fontType.size ); in getLineWidth() 94 width += getInvalidCharWidth( fontType.size ); in getLineWidth() 107 const CharValidator validator( fontType.size ); in getTruncatedLineWidth() 138 const CharValidator validator( fontType.size ); in getMultiRowInfo() 208 const CharValidator validator( fontType.size ); in render() 217 offsetX += getInvalidCharWidth( fontType.size ); in render() 239 render( data, size, x, y, output, fontType ); in renderLine() 248 const CharValidator validator( fontType.size ); in render() 268 const int32_t fontHeight = getFontHeight( fontType.size ); in render() 355 , _fontType( fontType ) in Text() [all …]
|
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/main/java/org/parosproxy/paros/extension/option/ |
H A D | OptionsViewPanel.java | 172 fontNames.put(fontType, null); in OptionsViewPanel() 173 fontSizes.put(fontType, null); in OptionsViewPanel() 667 fontSizes.put(fontType, initFontSize(fontType)); in getFontSize() 669 return fontSizes.get(fontType); in getFontSize() 716 fontNames.put(fontType, initFontName(fontType)); in getFontName() 718 return fontNames.get(fontType); in getFontName() 724 fontType, in getFontExampleLabel() 786 getFontSize(fontType).setValue(options.getViewParam().getFontSize(fontType)); in initParam() 787 getFontName(fontType).setSelectedItem(options.getViewParam().getFontName(fontType)); in initParam() 841 options.getViewParam().setFontSize(fontType, getFontSize(fontType).getValue()); in saveParam() [all …]
|
H A D | OptionsParamView.java | 200 fontNames.put(fontType, ""); in OptionsParamView() 201 fontSizes.put(fontType, -1); in OptionsParamView() 236 fontNames.put(fontType, getString(getFontNameConfKey(fontType), "")); in parse() 237 fontSizes.put(fontType, getInt(getFontSizeConfKey(fontType), -1)); in parse() 545 public int getFontSize(FontUtils.FontType fontType) { in getFontSize() argument 546 return fontSizes.get(fontType); in getFontSize() 559 fontSizes.put(fontType, fontSize); in setFontSize() 573 return fontNames.get(fontType); in getFontName() 586 fontNames.put(fontType, fontName); in setFontName() 748 result.append(fontTypePrefixes.get(fontType)); in getFontConfKey() [all …]
|
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/widgets/ |
H A D | label.cpp | 26 fontType (fontType_), in cLabel() 75 std::swap (fontType, fontType_); in setFont() 76 if (fontType != fontType_) updateDisplayInformation(); in setFont() 96 const auto textHeight = drawLines.size() * font->getFontHeight (fontType); in resizeToTextHeight() 130 currentWordLength -= font->getUnicodeCharacterWidth (unicodeCharacter, fontType); in breakText() 171 currentWordLength += font->getUnicodeCharacterWidth (unicodeCharacter, fontType); in breakText() 186 breakText (text, drawLines, getSize().x(), fontType); in updateDisplayInformation() 195 const auto height = font->getFontHeight (fontType) * drawLines.size(); in updateDisplayInformation() 218 const auto width = font->getTextWide (line, fontType); in updateDisplayInformation() 234 font->showText (drawPositionX, drawPositionY, line, fontType); in updateDisplayInformation() [all …]
|
H A D | lineedit.cpp | 39 fontType (fontType_), in cLineEdit() 134 const auto cursorXOffset = font->getFontSize (fontType) == FONT_SIZE_SMALL ? -1 : 0; in draw() 138 …(textPosition.x(), textPosition.y(), text.substr (startOffset, endOffset - startOffset), fontType); in draw() 149 …e (text.substr (startOffset, cursorPos - startOffset), fontType), textPosition.y(), "|", fontType); in draw() 171 …while (font->getTextWide (text.substr (startOffset, endOffset - startOffset), fontType) > getSize(… in handleGetKeyFocus() 196 while (font->getTextWide (text.substr (startOffset, cursor - startOffset), fontType) < x) in handleClicked() 258 …while (font->getTextWide (text.substr (startOffset, endOffset - startOffset), fontType) > getSize(… in resetTextPosition() 309 …if (font->getTextWide (text.substr (startOffset, text.length() - startOffset), fontType) > getSize… in scrollLeft() 312 …while (font->getTextWide (text.substr (startOffset, endOffset - startOffset), fontType) > getSize(… in scrollLeft() 391 …while (font->getTextWide (text.substr (startOffset, endOffset - startOffset), fontType) > getSize(… in handleKeyPressed() [all …]
|
H A D | checkbox.cpp | 34 fontType (FONT_LATIN_NORMAL), in cCheckBox() 49 fontType (fontType_), in cCheckBox() 72 textDesty = position.y + (position.h / 2) - (font->getFontHeight (fontType) / 2); in draw() 75 textDestx = position.x - (font->getTextWide (text, fontType) + 2); in draw() 76 textDesty = position.y + (position.h / 2) - (font->getFontHeight (fontType) / 2); in draw() 87 font->showText (textDestx, textDesty, text, fontType); in draw() 97 font->showText (position.x, position.y, text, fontType); in draw() 111 … if (checked) font->showTextCentered (position.x + position.w / 2, position.y + 5, text, fontType); in draw() 112 else font->showTextCentered (position.x + position.w / 2, position.y + 4, text, fontType); in draw() 232 size = cPosition (font->getTextWide (text, fontType), font->getFontHeight (fontType)); in renewSurface() [all …]
|
H A D | pushbutton.cpp | 37 fontType (FONT_LATIN_BIG), in cPushButton() 44 fontType = FONT_LATIN_SMALL_WHITE; in cPushButton() 52 fontType (FONT_LATIN_BIG), in cPushButton() 58 fontType = FONT_LATIN_SMALL_WHITE; in cPushButton() 66 fontType (FONT_LATIN_BIG), in cPushButton() 72 fontType = FONT_LATIN_SMALL_WHITE; in cPushButton() 80 fontType (fontType_), in cPushButton() 86 fontType = FONT_LATIN_SMALL_WHITE; in cPushButton() 94 fontType (fontType_), in cPushButton() 100 fontType = FONT_LATIN_SMALL_WHITE; in cPushButton() [all …]
|
H A D | label.h | 39 void setFont (eUnicodeFontType fontType); 50 eUnicodeFontType fontType; variable 61 …:string& text, std::vector<std::string>& lines, int maximalWidth, eUnicodeFontType fontType) const;
|
/dports/audio/fasttracker2/ft2-clone-1.49/src/ |
H A D | ft2_pattern_draw.c | 403 fontType = FONT_TYPE4; in showInstrNum() 409 fontType = FONT_TYPE4; in showInstrNum() 415 fontType = FONT_TYPE3; in showInstrNum() 444 fontType = FONT_TYPE4; in showVolEfx() 456 fontType = FONT_TYPE4; in showVolEfx() 468 fontType = FONT_TYPE3; in showVolEfx() 489 fontType = FONT_TYPE4; in showEfx() 495 fontType = FONT_TYPE4; in showEfx() 501 fontType = FONT_TYPE3; in showEfx() 554 fontType = FONT_TYPE5; in showInstrNumNoVolColumn() [all …]
|
/dports/games/scourge/scourge/src/gui/ |
H A D | label.h | 37 int fontType; variable 43 …Label( int x, int y, char const* text = NULL, int lineWidth = 0, int fontType = 0, int lineHeight … 46 return fontType; in getFontType() 49 fontType = n; in setFontType()
|
H A D | label.cpp | 25 Label::Label( int x, int y, char const* text, int lineWidth, int fontType, int lineHeight ) : Widge… in Label() argument 27 this->fontType = fontType; in Label() 38 ( ( Window* )parent )->getScourgeGui()->setFontType( fontType ); in drawWidget()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/castle/ |
H A D | castle_ui.cpp | 90 const fheroes2::FontType fontType( fheroes2::FontSize::SMALL, fheroes2::FontColor::WHITE ); in drawResourcePanel() local 91 const int32_t fontHeight = fheroes2::Text( std::string(), fontType ).height(); in drawResourcePanel() 115 text.set( std::to_string( kingdomTreasures.wood ), fontType ); in drawResourcePanel() 118 text.set( std::to_string( kingdomTreasures.sulfur ), fontType ); in drawResourcePanel() 121 text.set( std::to_string( kingdomTreasures.crystal ), fontType ); in drawResourcePanel() 124 text.set( std::to_string( kingdomTreasures.mercury ), fontType ); in drawResourcePanel() 127 text.set( std::to_string( kingdomTreasures.ore ), fontType ); in drawResourcePanel() 130 text.set( std::to_string( kingdomTreasures.gems ), fontType ); in drawResourcePanel() 133 text.set( std::to_string( kingdomTreasures.gold ), fontType ); in drawResourcePanel()
|
/dports/devel/kyra/kyra/engine/ |
H A D | fontresource.cpp | 56 fontType = SDL_ReadLE16( data ); in KrFontResource() 57 GLASSERT( fontType == FIXED || fontType == SFONT ); in KrFontResource() 60 GLOUTPUT(( "startindex=%d type=%d\n", startIndex, fontType )); in KrFontResource() 78 fontType = type; in KrFontResource() 83 if ( fontType == FIXED ) in KrFontResource() 281 SDL_WriteLE16( encoder->Stream(), fontType ); in Save()
|
/dports/databases/kexi/kexi-3.2.0/src/kexiutils/ |
H A D | FontSettings_p.cpp | 55 QFont FontSettingsData::font(FontTypes fontType) in font() argument 57 QFont *cachedFont = m_fonts[fontType]; in font() 59 const FontData &fontData = DefaultFontData[fontType]; in font() 73 m_fonts[fontType] = cachedFont; in font()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/ |
H A D | subtitles.cpp | 131 Common::String fontType = versionTxtResource.getText((uint32)4); in init() local 134 if (fontType.equalsIgnoreCase("ttf")) { in init() 135 _subtitlesInfo.fontType = Subtitles::kSubtitlesFontTypeTTF; in init() 137 _subtitlesInfo.fontType = Subtitles::kSubtitlesFontTypeInternal; in init() 156 if (_subtitlesInfo.fontType == Subtitles::kSubtitlesFontTypeInternal) { in init() 161 } else if (_subtitlesInfo.fontType == Subtitles::kSubtitlesFontTypeTTF) { in init() 377 switch (_subtitlesInfo.fontType) { in draw() 413 _subtitlesInfo.fontType = kSubtitlesFontTypeInternal; in reset()
|
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/ |
H A D | subtitles.cpp | 132 Common::String fontType = versionTxtResource.getText((uint32)4); in init() local 137 if (fontType.equalsIgnoreCase("ttf")) { in init() 138 _subtitlesInfo.fontType = Subtitles::kSubtitlesFontTypeTTF; in init() 140 _subtitlesInfo.fontType = Subtitles::kSubtitlesFontTypeInternal; in init() 158 if (_subtitlesInfo.fontType == Subtitles::kSubtitlesFontTypeInternal) { in init() 163 } else if (_subtitlesInfo.fontType == Subtitles::kSubtitlesFontTypeTTF) { in init() 388 switch (_subtitlesInfo.fontType) { in draw() 424 _subtitlesInfo.fontType = kSubtitlesFontTypeInternal; in reset()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/agg/ |
H A D | agg_image.h | 40 const Sprite & GetLetter( uint32_t character, uint32_t fontType ); 43 uint32_t ASCIILastSupportedCharacter( const uint32_t fontType ); 48 const Sprite & getChar( const uint8_t character, const FontType & fontType );
|
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/widgets/ |
H A D | unitdetailsstored.cpp | 109 eUnicodeFontType fontType; in drawRow() local 110 if (amount > maximalAmount / 2) fontType = FONT_LATIN_SMALL_GREEN; in drawRow() 111 else if (amount > maximalAmount / 4) fontType = FONT_LATIN_SMALL_YELLOW; in drawRow() 112 else fontType = FONT_LATIN_SMALL_RED; in drawRow() 114 amountLabels[index]->setFont (fontType); in drawRow()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/locales/en-US/chrome/global/ |
H A D | aboutReader.properties | 16 # LOCALIZATION NOTE (aboutReader.fontType.serif, aboutReader.fontType.sans-serif): 18 aboutReader.fontType.serif=Serif 19 aboutReader.fontType.sans-serif=Sans-serif
|
/dports/print/pdftk/pdftk-7d2ac3c1fa858f2c247c809fc6ef43f71f241098/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/ |
H A D | FontDetails.java | 94 int fontType; field in FontDetails 113 fontType = baseFont.getFontType(); in FontDetails() 114 switch (fontType) { in FontDetails() 160 switch (fontType) { in convertToBytes() 229 switch (fontType) { in writeFont()
|
/dports/devel/itext/itext-4.2.0/core/com/lowagie/text/pdf/ |
H A D | FontDetails.java | 102 int fontType; field in FontDetails 125 fontType = baseFont.getFontType(); in FontDetails() 126 switch (fontType) { in FontDetails() 176 switch (fontType) { in convertToBytes() 253 switch (fontType) { in writeFont()
|
/dports/editors/ted/Ted-2.23/appFrame/ |
H A D | appFontMotif.c | 73 XmFontType fontType; in drawOpenDefaultFont() local 75 fontPtr= XmFontListEntryGetFont( entry, &fontType ); in drawOpenDefaultFont() 77 if ( fontType == XmFONT_IS_FONT ) in drawOpenDefaultFont()
|
/dports/games/scourge/scourge/src/ |
H A D | sdlhandler.h | 84 int fontType; variable 232 inline void setFontType( int fontType ) { in setFontType() argument 233 this->fontType = fontType; in setFontType() 236 return fontType; in getFontType()
|