Home
last modified time | relevance | path

Searched refs:getFont (Results 1 – 25 of 5147) sorted by relevance

12345678910>>...206

/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/gettext/htmlim/
H A Dhtmlreader.cpp64 pstyleh6->getFont()->setSize(pstyle->getFont()->getSize() + 2.5); in initPStyles()
65 pstyleh6->getFont()->setWeight(BOLD); in initPStyles()
70 pstyleh5->getFont()->setSize(pstyle->getFont()->getSize() + 5); in initPStyles()
71 pstyleh5->getFont()->setWeight(BOLD); in initPStyles()
76 pstyleh4->getFont()->setSize(pstyle->getFont()->getSize() + 10); in initPStyles()
77 pstyleh4->getFont()->setWeight(BOLD); in initPStyles()
82 pstyleh3->getFont()->setSize(pstyle->getFont()->getSize() + 20); in initPStyles()
83 pstyleh3->getFont()->setWeight(BOLD); in initPStyles()
88 pstyleh2->getFont()->setSize(pstyle->getFont()->getSize() + 40); in initPStyles()
89 pstyleh2->getFont()->setWeight(BOLD); in initPStyles()
[all …]
/dports/devel/itext/itext-4.2.0/core/com/lowagie/text/
H A DFontFactory.java140 return fontImp.getFont(fontname, encoding, embedded, size, style, color); in getFont()
168 public static Font getFont(Properties attributes) { in getFont() method in FontFactory
171 return fontImp.getFont(attributes); in getFont()
186 return getFont(fontname, encoding, embedded, size, style, null); in getFont()
242 return getFont(fontname, encoding, defaultEmbedding, size, style, null); in getFont()
254 public static Font getFont(String fontname, String encoding, float size) { in getFont() method in FontFactory
266 public static Font getFont(String fontname, String encoding) { in getFont() method in FontFactory
294 public static Font getFont(String fontname, float size, Color color) { in getFont() method in FontFactory
307 public static Font getFont(String fontname, float size, int style) { in getFont() method in FontFactory
319 public static Font getFont(String fontname, float size) { in getFont() method in FontFactory
[all …]
H A DFontFactoryImp.java234 public Font getFont(Properties attributes) { in getFont() method in FontFactoryImp
314 return getFont(null, encoding, embedded, size, style, color); in getFont()
316 return getFont(fontname, encoding, embedded, size, style, color); in getFont()
331 return getFont(fontname, encoding, embedded, size, style, null); in getFont()
357 public Font getFont(String fontname, String encoding, boolean embedded) { in getFont() method in FontFactoryImp
399 public Font getFont(String fontname, String encoding, float size) { in getFont() method in FontFactoryImp
414 public Font getFont(String fontname, float size, Color color) { in getFont() method in FontFactoryImp
426 public Font getFont(String fontname, String encoding) { in getFont() method in FontFactoryImp
453 public Font getFont(String fontname, float size, int style) { in getFont() method in FontFactoryImp
465 public Font getFont(String fontname, float size) { in getFont() method in FontFactoryImp
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/src/org/eclipse/e4/ui/tests/css/swt/
H A DShellTest.java107 FontData fontData = parent.getFont().getFontData()[0]; in test375069ChildShellDifferentiation()
110 assertEquals(1, child.getFont().getFontData().length); in test375069ChildShellDifferentiation()
111 fontData = child.getFont().getFontData()[0]; in test375069ChildShellDifferentiation()
130 FontData fontData = parent.getFont().getFontData()[0]; in test375069AllShell()
133 assertEquals(1, child.getFont().getFontData().length); in test375069AllShell()
134 fontData = child.getFont().getFontData()[0]; in test375069AllShell()
154 FontData fontData = parent.getFont().getFontData()[0]; in testShellParentage()
157 assertEquals(1, child.getFont().getFontData().length); in testShellParentage()
158 fontData = child.getFont().getFontData()[0]; in testShellParentage()
181 fontData = child.getFont().getFontData()[0]; in testShellUnparentedPseudoelement()
[all …]
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/main/java/org/zaproxy/zap/utils/
H A DFontUtils.java140 public static Font getFont(String name) { in getFont() method in FontUtils
141 return getFont(name, Font.PLAIN); in getFont()
150 public static Font getFont(int style) { in getFont() method in FontUtils
160 public static Font getFont(FontType fontType) { in getFont() method in FontUtils
175 return getFont(fontType); in getFontWithFallback()
177 return getFont(fallbackFontName); in getFontWithFallback()
199 public static Font getFont(int style, Size size) { in getFont() method in FontUtils
212 return getFont(font, size).deriveFont(style); in getFont()
221 public static Font getFont(Size size) { in getFont() method in FontUtils
222 return getFont(getDefaultFont(), size); in getFont()
[all …]
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/gettext/sxwim/
H A Dstylereader.cpp220 currentStyle->getFont()->setName(getFont(attrValue)); in styleProperties()
233 currentStyle->getFont()->setSize(nsize); in styleProperties()
258 currentStyle->getFont()->setWeight(BOLD); in styleProperties()
617 style->getFont()->setName(getFont(value)); in updateStyle()
629 style->getFont()->setSize(nsize); in updateStyle()
644 style->getFont()->setColor(value); in updateStyle()
646 style->getFont()->setColor("Black"); in updateStyle()
648 style->getFont()->setWeight(BOLD); in updateStyle()
650 style->getFont()->setSlant(ITALIC); in updateStyle()
659 style->getFont()->toggleEffect(OUTLINE); in updateStyle()
[all …]
/dports/x11-fm/worker/worker-4.10.0/src/
H A Dwconfig_font.cc57 ts[0] = (Text*)ac1->add( new Text( _aguix, 0, 0, _baseconfig.getFont( 0 ).c_str() ), in create()
59 ts[0]->setFont( _baseconfig.getFont( 0 ).c_str() ); in create()
65 ts[1] = (Text*)ac1->add( new Text( _aguix, 0, 0, _baseconfig.getFont( 1 ).c_str() ), in create()
67 ts[1]->setFont( _baseconfig.getFont( 1 ).c_str() ); in create()
73 ts[2] = (Text*)ac1->add( new Text( _aguix, 0, 0, _baseconfig.getFont( 2 ).c_str() ), in create()
75 ts[2]->setFont( _baseconfig.getFont( 2 ).c_str() ); in create()
83 ts[3]->setFont( _baseconfig.getFont( 3 ).c_str() ); in create()
91 ts[4]->setFont( _baseconfig.getFont( 4 ).c_str() ); in create()
97 ts[5] = ac1->addWidget( new Text( _aguix, 0, 0, _baseconfig.getFont( 5 ).c_str() ), in create()
99 ts[5]->setFont( _baseconfig.getFont( 5 ).c_str() ); in create()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java281 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
290 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
299 return getFont(USER_TEXT_FONT); in getUserTextFont()
311 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
320 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
329 return getFont(SUB_TEXT_FONT); in getSubTextFont()
332 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
333 return fontDelegate.getFont(key); in getFont()
369 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
393 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java283 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
292 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
301 return getFont(USER_TEXT_FONT); in getUserTextFont()
313 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
322 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
331 return getFont(SUB_TEXT_FONT); in getSubTextFont()
334 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
335 return fontDelegate.getFont(key); in getFont()
371 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
396 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java282 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
291 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
300 return getFont(USER_TEXT_FONT); in getUserTextFont()
312 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
321 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
330 return getFont(SUB_TEXT_FONT); in getSubTextFont()
333 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
334 return fontDelegate.getFont(key); in getFont()
370 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
394 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/plaf/metal/
H A DDefaultMetalTheme.java281 return getFont(CONTROL_TEXT_FONT); in getControlTextFont()
290 return getFont(SYSTEM_TEXT_FONT); in getSystemTextFont()
299 return getFont(USER_TEXT_FONT); in getUserTextFont()
311 return getFont(MENU_TEXT_FONT); in getMenuTextFont()
320 return getFont(WINDOW_TITLE_FONT); in getWindowTitleFont()
329 return getFont(SUB_TEXT_FONT); in getSubTextFont()
332 private FontUIResource getFont(int key) { in getFont() method in DefaultMetalTheme
333 return fontDelegate.getFont(key); in getFont()
369 public FontUIResource getFont(int type) { in getFont() method in DefaultMetalTheme.FontDelegate
393 return Font.getFont(getDefaultPropertyName(key)); in getPrivilegedFont()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/
H A DCSSSWTFontHelper.java282 return getFontFamily(getFont(widget)); in getFontFamily()
311 return getFontSize(getFont(widget)); in getFontSize()
339 return getFontStyle(getFont(widget)); in getFontStyle()
373 return getFontWeight(getFont(widget)); in getFontWeight()
407 return getFontComposite(control.getFont()); in getFontComposite()
447 Font font = control.getFont(); in getFirstFontData()
471 return ((CTabItem) widget).getFont(); in getFont()
473 return ((Control) widget).getFont(); in getFont()
484 storeDefaultFont(item, item.getFont()); in storeDefaultFont()
519 if (!equals(control.getFont(), font)) { in setFont()
[all …]
/dports/print/py-fontparts/fontParts-0.9.11/Lib/fontParts/test/
H A Dtest_world.py8 def getFont(self): member in TestFontList
19 font = self.getFont()
30 font = self.getFont()
39 font = self.getFont()
206 font = self.getFont()
234 font1 = self.getFont()
236 font2 = self.getFont()
238 font3 = self.getFont()
240 font4 = self.getFont()
250 font1 = self.getFont()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Drawing.Common/tests/
H A DSystemFontsTests.cs24 public void SystemFont_Get_ReturnsExpected(Func<Font> getFont) in SystemFont_Get_ReturnsExpected() argument
26 using (Font font = getFont()) in SystemFont_Get_ReturnsExpected()
27 using (Font otherFont = getFont()) in SystemFont_Get_ReturnsExpected()
54 …lic static object[] Font(Func<Font> getFont, string systemFontName, string windowsFontName) => new… in Font() argument
59 …public void SystemFont_Get_ReturnsExpected_WindowsNames(Func<Font> getFont, string systemFontName,… in SystemFont_Get_ReturnsExpected_WindowsNames() argument
61 using (Font font = getFont()) in SystemFont_Get_ReturnsExpected_WindowsNames()
62 using (Font otherFont = getFont()) in SystemFont_Get_ReturnsExpected_WindowsNames()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/dialogs/
H A Dqfontdialog.h101 static QFont getFont(bool *ok, const QFont &initial, QWidget *parent, const QString &title,
103 static QFont getFont(bool *ok, const QFont &initial, QWidget *parent, const QString &title);
104 static QFont getFont(bool *ok, const QFont &initial, QWidget *parent = 0);
105 static QFont getFont(bool *ok, QWidget *parent = 0);
108 static QFont getFont(bool *ok, const QFont &initial, QWidget *parent, const char *name)
109 { Q_UNUSED(name); return getFont(ok, initial, parent); }
110 static QFont getFont(bool *ok, QWidget *parent, const char *name)
111 { Q_UNUSED(name); return getFont(ok, parent); }
/dports/print/pdftk/pdftk-7d2ac3c1fa858f2c247c809fc6ef43f71f241098/java/com/gitlab/pdftk_java/com/lowagie/text/
H A DFontFactory.java271 public static Font getFont(Properties attributes) { in getFont() method in FontFactory
351 return getFont(null, encoding, embedded, size, style, color); in getFont()
353 return getFont(fontname, encoding, embedded, size, style, color); in getFont()
368 return getFont(fontname, encoding, embedded, size, style, null); in getFont()
382 return getFont(fontname, encoding, embedded, size, Font.UNDEFINED, null); in getFont()
424 return getFont(fontname, encoding, defaultEmbedding, size, style, null); in getFont()
436 public static Font getFont(String fontname, String encoding, float size) { in getFont() method in FontFactory
448 public static Font getFont(String fontname, String encoding) { in getFont() method in FontFactory
475 public static Font getFont(String fontname, float size, int style) { in getFont() method in FontFactory
487 public static Font getFont(String fontname, float size) { in getFont() method in FontFactory
[all …]
/dports/games/spacejunk/spacejunk-1.0.5/guichan/widgets/
H A Dlabel.cpp66 setWidth(getFont()->getWidth(caption)); in Label()
67 setHeight(getFont()->getHeight()); in Label()
93 int textY = getHeight() / 2 - getFont()->getHeight() / 2; in draw()
110 graphics->setFont(getFont()); in draw()
117 setWidth(getFont()->getWidth(getCaption())); in adjustSize()
118 setHeight(getFont()->getHeight()); in adjustSize()
/dports/devel/guichan/guichan-0.8.2/src/widgets/
H A Dlabel.cpp66 setWidth(getFont()->getWidth(caption)); in Label()
67 setHeight(getFont()->getHeight()); in Label()
93 int textY = getHeight() / 2 - getFont()->getHeight() / 2; in draw()
110 graphics->setFont(getFont()); in draw()
117 setWidth(getFont()->getWidth(getCaption())); in adjustSize()
118 setHeight(getFont()->getHeight()); in adjustSize()
/dports/converters/wkhtmltopdf/qt-5db36ec/doc/src/snippets/code/
H A Dsrc_gui_dialogs_qfontdialog.cpp43 QFont font = QFontDialog::getFont(
55 myWidget.setFont(QFontDialog::getFont(0, myWidget.font()));
61 QFont font = QFontDialog::getFont(&ok, QFont("Times", 12), this);
72 myWidget.setFont(QFontDialog::getFont(0, myWidget.font()));
78 QFont font = QFontDialog::getFont(&ok, this);

12345678910>>...206