tagged [fonts]
How to change the size of the font of a JLabel to take the maximum size
How to change the size of the font of a JLabel to take the maximum size I have a `JLabel` in a Container. The defaut size of the font is very small. I would like that the text of the `JLabel` to take ...
- Modified
- 8 Jun at 11:4
How do I install a custom font on an HTML site
How do I install a custom font on an HTML site I am not using flash or php - and I have been asked to add a custom font to a simple HTML layout. "KG June Bug" I have it downloaded locally - is there a...
- Modified
- 11 Apr at 22:4
How to import fonts in CSS?
How to import fonts in CSS? I want to use some fonts and I want it to work without having this font on the client computer. I have done this but it doesn't work:
How can I use custom fonts on a website?
How can I use custom fonts on a website? In order for my website to look good I need to use a custom font, specifically, Thonburi-Bold. The problem is - the font does not get displayed unless the user...
Unicode character for "X" cancel / close?
Unicode character for "X" cancel / close? I want to create a close button using CSS only. I'm sure I'm not the first to do this, so does anyone know which font has an 'x' the same width as height, so ...
Font size of TextView in Android application changes on changing font size from native settings
Font size of TextView in Android application changes on changing font size from native settings I want to specify my own text size in my application, but I am having a problem doing this. When I chang...
- Modified
- 1 Oct at 20:17
How do I set the colour of a label (coloured text) in Java?
How do I set the colour of a label (coloured text) in Java? How do I set the color of the text of a label? Can I have two seperate colors in one label? For example here: The `"Text Color:"` to be blac...
How to import Google Web Font in CSS file?
How to import Google Web Font in CSS file? I'm working with a CMS which I only have access to the CSS file. So, I can't include anything in the `` of the document. I was wondering if there was a way t...
- Modified
- 15 May at 12:46
Keyboard shortcut to change font size in Eclipse?
Keyboard shortcut to change font size in Eclipse? It is relatively straightforward to change font sizes in Eclipse through preferences (and answered several times in this forum). However I'd like to c...
How can I use a custom font in Java?
How can I use a custom font in Java? I wrote a program in Java that uses a special font that by default doesn't exist on any operating system. Is it possible in Java to add this special font to the op...
Is it possible to set a custom font for entire of application?
Is it possible to set a custom font for entire of application? I need to use certain font for my entire application. I have .ttf file for the same. Is it possible to set this as default font, at appli...
- Modified
- 4 Jan at 17:59
Convert or extract TTC font to TTF - how to?
Convert or extract TTC font to TTF - how to? I am already more than 8 hours trying to make the [STHeiti Medium.ttc.zip](https://code.google.com/p/kingfont/downloads/list) font work on Windows. But I c...
in C# winform, I got: "only truetype fonts are supported. This is not a TrueType Font"
in C# winform, I got: "only truetype fonts are supported. This is not a TrueType Font" I have C# winform, I installed a couple of ttf fonts, but when i set the text box font to any of the ones i downl...
Font.createFont(..) set color and size (java.awt.Font)
Font.createFont(..) set color and size (java.awt.Font) I'd like to create a new Font object using a TTF file. It is really simple to create a Font object but I don't know how to set color and size bec...
Load fonts from file on a C# application
Load fonts from file on a C# application I wish to load and use a font to a desktop application in C#. It's that possible without installing the font on the system? It's a kind of question like [this]...
ItextSharp (Itext) - set custom font for paragraph
ItextSharp (Itext) - set custom font for paragraph I am trying to set custom font to Paragraph, but I can't make it work. I tried setting .Font= , but it only works size-wise, but it ignores font. Cou...
Mime type for WOFF fonts?
Mime type for WOFF fonts? What mime type should WOFF fonts be served as? I am serving truetype (ttf) fonts as `font/truetype` and opentype (otf) as `font/opentype`, but I cannot find the correct forma...
- Modified
- 4 Jan at 21:32
How to determine the size of a string given a font
How to determine the size of a string given a font I have a small form that displays some progress information. Very rarely I have to show a rather long message and I want to be able to resize this fo...
How do I set a textbox's text to bold at run time?
How do I set a textbox's text to bold at run time? I'm using Windows forms and I have a textbox which I would occassionally like to make the text bold if it is a certain value. How do I change the fon...
What does it mean when my text is displayed as boxes?
What does it mean when my text is displayed as boxes? I'm attempting to display some text in my program using (say) Windows GDI and some of the unicode characters are displayed as boxes? What is up? S...
How to include external font in WPF application without installing it
How to include external font in WPF application without installing it How to include external font in WPF application without installing it I tried this code ``` System.Drawing.Text.PrivateFontCollect...
Proper MIME type for OTF fonts
Proper MIME type for OTF fonts Searching the web, I find heaps of different suggestions for what the proper MIME type for a font is, but I have yet to try any MIME type that rids me of a Chrome warnin...
Change color and font for some part of text in WPF C#
Change color and font for some part of text in WPF C# Is there a way to change color and font for some part of text which I want to put on TextBox or RichTextBox. I am using C# WPF. For example Variab...
Webfont Smoothing and Antialiasing in Firefox and Opera
Webfont Smoothing and Antialiasing in Firefox and Opera I have custom-made web fonts used on my site. To style my rendering output, I used the following code: This works fine on Safari and Chrome (edg...
- Modified
- 26 Nov at 07:1
How can I make a DataGridView cell's font a particular color?
How can I make a DataGridView cell's font a particular color? This code works fine for making the cell's background Blue: ...but the ForeColor's effects are not what I expected/hoped: the font color i...
- Modified
- 30 Aug at 18:11