Questions tagged [font-style]
62 questions
0
votes
1 answer
Spec for not-inheriting certain font settings in textarea
This is a wonderful question about why styles do not get inherited in form fields.
This is a wonderful answer that explains "Certain controls are not defaulted to inherit font settings."
Is there a specification about this? "Certain controls" seems…

Xaver Fleer
- 385
- 1
- 2
- 12
0
votes
0 answers
Win7 WinForm font does not support style "regular" error
I have a WinForm app. There are some Forms in it, all of them are in english, just one Form is in persian. I have installed this app on various machines, but today, after installation, I have gotten an error telling me that:
Font "B Koodak" does…
user9022663
0
votes
1 answer
How to change font of Eclipse
I am switching from IntelliJ to Eclipse(STS) of work reason, but the font is something I am missing in Eclipse. I have googled and found that the font I am looking for "Droid Sans" was present in Eclipse earlier versions but can't find on this…

Abhilash Gupta
- 63
- 8
0
votes
1 answer
Change Font Style on All Instances of a String in a RichTextBox
I'm working on a VB.NET 4.5 project in VS2013.
I have a richtextbox on a form and when a button is clicked I need to toggle the BOLD setting on all instances of a specific string found in the richtextbox.
I put together some code based on this…

marky
- 4,878
- 17
- 59
- 103
0
votes
1 answer
Applying more than one font style to a label - vb.net
I have a program that will apply bold, italic, and underline, each with a button click, to a label. But I can't have 2 fontstyles, like a word that is bold and italic at the same time. The following code I tried will override the previous applied…

TGamer
- 529
- 1
- 9
- 26
0
votes
1 answer
JavaFX ignores weight and style from custom fonts
When I make javafx load a font with a code like this:
font = Font.loadFont(getClass().getClassLoader().getResource("gui/font.ttf").toExternalForm(), 25);
and, after it has successfully loaded, apply it to a Text
text.setFont(font);
the text shows…

SnowyCoder
- 213
- 7
- 18
0
votes
1 answer
ASP.NET - First 2 chars in string must be bold
I have a table with rows where i have a number in every row. I want this number of rows must be with font-style: bold
This is my code :
DataTable table = new DataTable();
table.Columns.Add("Route");
int counter = 1;
foreach (SPListItem item in…

Gohyu
- 468
- 2
- 10
- 32
0
votes
1 answer
PDF how define only one character front bold
I develop in php function that create simple pdf.
I have text:
Lorem ipsum dolor sit amet.
But I want what character i always be bold.
How can I do this? (maybe in /Differences).
--edit--
%PDF-1.4
(..skipping...)
/F1 9 Tf
0 g
BT
157 830 Td
(Lorem…

Ivan
- 2,463
- 1
- 20
- 28
0
votes
3 answers
Changing CSS font style and size doesn't have any effect
* {
padding: 0px;
margin: 0px;
font-family: Calibri;
}
#largefont{
font-size: 24px;
font-family: serif;
}
TEXT text
... It's actually a live website I'm doing for a HTML/CSS class. You can view it…
Blind Guardian 117
- 13
- 1
- 4
-1
votes
1 answer
Same CSS about font in different browser preforms different
When I tried to set font style on a label, the code worked perfectly on Edge, but the font was much smaller on Chrome.
This is the code:
.block-footer-text{
letter-spacing: -0.5px;
font-size:10px;
}

Han Han
- 328
- 12
-1
votes
1 answer
Trouble getting font to display bold on simple webpage
I created a simple article page that uses the Google font, Montserrat for the article's main title. I set the font weight to 700 to make the title appear bold but when displayed on the page, it doesn't appear nearly as bold as it should (compared to…

Jason O
- 753
- 9
- 28
-1
votes
1 answer
Is there any python inbuilt module exist which can vary the output size and style?
I am trying to enlarge the size of output code. Currently I am working on vs code on window. I am a quite beginner. I also want some advance functionality on my source code.
CODE:
I want to print a table of 1 to 100 counting as presentable as I…

Harsh Goyal
- 11
- 1
- 2
-1
votes
1 answer
Method that converts string expression into bold
private string Bold(string str)
{
return Convert.ToString(new Font(Bold(str)));
}
How can I convert a string text to bold in C#? I'm typing like this but I'm getting an error.
-1
votes
2 answers
How to change font style of window.getSelection()
I want to know how can I change the font style of the selected text, using window.getSelection(), after clicking in a button.
For example, supose that we have the following phrase:
Hello world!
If I just select the string ell from it and after…

Grandtour
- 1,127
- 1
- 11
- 28
-1
votes
1 answer
How to change Python comment font style in the latest VS Code?
Seems like with the latest VS Code update, all the comment font style has gone Italic. Does anyone know how to change the font back to normal? Thanks.
Screenshot:

Jie Jenn
- 445
- 5
- 15