Bold not working in word

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Labels

MS Windows

Microsoft Windows is a constant source of font issues :–)

Comments

@goranalkovic

Describe the bug
When using Inter in Word (Office 365), bold is not rendering correctly, looks more like weight 500. (see screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. Install Word (Office 365 edition)
  2. Install Inter 3.15 (either hinted TTF or OTF)
  3. Open Word and try making something bold when set in Inter

Expected behavior
Bold should render correctly.

Screenshots
image
(sample text is in this order: [Regular][Bold][Italic][BoldItalic])

Environment

  • OS: Windows 10 Pro, Insider build 20197
  • App that renders the font: Word (Office 365), version 2009 (build 13212.2)
  • Version of font: Inter 3.015;git-7f5c04026

Additional context
The variable font version (Inter V) works correctly but is a bit cumbersome to use because Word for some reason doesn’t support its slant axis, so it uses faux italic, which looks terrible. To use proper italics I would constantly need to switch between Inter V and Inter V italic, which is a no-go for me.

If you need any more info, I can provide it.

@rsms
rsms

added
the

MS Windows

Microsoft Windows is a constant source of font issues :–)

label

Aug 25, 2020

@enoversum

I’m using the variable Windows version on Windows 10 x64, and Adobe XD also denies displaying the italic version correctly. It shows as the regular version, no matter what weight.

@davidvidmar

Same thing happens in PowerPoint. Happy to provide screenshosts if needed.

@arrowtype

@rsms This may have a similar solution to arrowtype/recursive#373 (comment)

  1. In the OS/2 table, Panose bLetterform must be set to 11, for oblique fonts
  2. In the OS/2 table, the fsSelection needed to be set to italic/bold/bolditalic
  3. In the head table, the macStyle needed to be set italic/bold/bolditalic (probably not relavent to Windows, but related to the overall issue)

@arrowtype

Okay, actually, I got curious and looked a little deeper. It seems that the fsSelection is set correctly. In fact, when I installed fonts on Windows 10 from the Inter Hinted for Windows folder from the release 3.15, the bold style linking seemed to work well for me in WordPad (I don’t currently have Word for Windows, but I think it would have the same behavior…):

image

So, this might be some kind of interaction between the variable & static fonts, or maybe MS Word just has a bug I’m not currently aware of, or maybe it’s another piece of metadata like Panose or macStyle. But, I was just exploring this out of academic curiosity and wanted to share what I found.

@timwoolliscroft

Interesting, the same hinted version for me is still not looking like the bold cuts of the typeface in Word (this is on Mac — so perhaps the issue is on Word for desktop, be it PC or Mac).

Screenshot 2021-02-19 at 15 43 47

@kenmcd

@goranalkovic
Do you have the variable fonts installed at the same time as the static fonts?

So, this might be some kind of interaction between the variable & static fonts,

Can’t have them both installed at the same time if they are using the same names.

@timwoolliscroft

@kenmcd,

I’m not @goranalkovic, but I think our issue is the same. I don’t have the variable cut installed at the same time.

@rsms

@kenmcd

Looks good in Word 2019 on Windows 10.0.19042

Inter-3 15-tests-Word-2019

@davidvidmar

I too can confirm this looks like it’s working on Windows 20H2 (19042.867) and Word & PowerPoint (16.0.801.20288).
I can finally switch back to Inter now. I’ve been using Arial Nova for some time, but really missed Inter.

Thanks for fixing it!

image

@timwoolliscroft

Morning all,

Thanks so much for the time spent on this, it’s definitely ironed out most
of the issues.

We’ve been doing a few tests here and have found that we’re getting some
pretty wild angles on some of the italics when exporting from word to PDF
on windows.

Namely the Italic versions of Medium, Extra Bold and SemiBold. Worth
noting, these all show up fine in word itself, the error only appears when
exported to PDF.

![image](https://user-images.githubusercontent.com/79327967/112512991-222a5880-8d51-11eb-95f1-261f5b0a8ddc.png)

Cheers!

Tim

@kenmcd

My Export to PDF looks fine.
And I checked the fonts embedded with my PDF editor — all correct.

@timwoolliscroft
Some of the fonts in you image look like faked italics. (they have the Word fake-Italic angle)
You can confirm this by looking at the fonts embedded — they will show as the Regular, not Italic.
Perhaps you have a font cache issue with the old fonts still in there. ?
You are on a Mac right? So it may still be an issue there. Or just need to clear font cache?

@goranalkovic

@rsms it’s working fine now with the 3.15 prerelase 🎉🎉

@heatherhjl

@rsms @timwoolliscroft @kenmcd
Hi all, I have been doing some testing with Tim and I have also found the italics come out differently depending on how I export my PDF file from Word. I’m on Word 2019 using Windows 10.0.19042 and I’ve got the 2021.001.20145 version of Adobe Acrobat Pro DC through Creative Cloud.

Below is a side-by-side screenshot comparison of the font within Word (looks good), when exported to PDF using either the Print to PDF or the Export > Create Adobe PDF functions, which uses the Adobe PDFMaker (I tried both and got the same result with a larger skew on the Inter Black, Medium, Extra Bold and SemiBold fonts), and then tried an actual print to PDF using File > Print > and choosing Adobe PDF as my printer and that version looks good too. It seems to be something about the default distiller settings in Word that must be set differently than the PDF printer settings. I tried playing around with some of the settings under the Edit > Preferences > Convert to PDF for Microsoft Word from within Acrobat, but that didn’t make any difference when using the Export feature in Word and still showed the skew on the fonts, even when I specifically added the Inter fonts to the «Always Embed» option.

Inter Font Comparison

@rsms

@timwoolliscroft @heatherhjl Can you confirm which fonts you are using? (Variable multi-axis, Variable single-axis, Constant OTF or Constant TTF) Can you also confirm that there is only one of these «flavors» installed and that you restarted the program after making changes to fonts on your system?

What you see with the funky italics is @kenmcd points out — faux italics; Word applies a skew transformation to the font in order to create an appearance of italics (oblique.) I’m 95% certain that what’s happening here is Word applying faux italic to fonts that are already italic. This could be an indication of a bug in the Inter metadata (which has changed to address an issue in Microsoft products in the pre-release) and/or it could indicate a font cache issue.

@heatherhjl

Hi @rsms — I’m using the Inter Desktop OTF release from the zipped file you sent to @timwoolliscroft yesterday and I uninstalled all prior versions before installing this one:
image

The italics actually do look correct to me within Word and when I print to PDF using the actual Print function, but when I use the Export to PDF function from within Word that is where the italics skew more, but only for the four fonts mentioned above (Medium, SemiBold, Extra Black, and Extra Bold) — the others all look the same to me across all three versions. I can see it when I open both versions of the PDF file (printed and exported) within Acrobat and set them to the same zoom level and switch back and forth between them you can see the larger skew on those four. I’m attaching the two PDF files — the Inter Desktop Test is the exported file and the Inter Printed to PDF is the printed file.

Inter Desktop Test.pdf
Inter Printed to PDF.pdf

@rsms

@heatherhjl thanks!

Observation: the key instances (Thin Italic, Italic and Black Italic) are correct while the interpolated instances (in between) are messed up.

So I poked at the constant OTF files that you have installed. The misc/tools/fontinfo.py can be used to dump all metadata of a font file. Here’s the italic angle of Medium Italic compared to the same in Bold Italic:

./misc/tools/fontinfo.py -pretty build/fonts/const/Inter-MediumItalic.otf | jq '.[0].post.italicAngle'
9.4
./misc/tools/fontinfo.py -pretty build/fonts/const/Inter-BoldItalic.otf | jq '.[0].post.italicAngle'
9.4

They are identical so that’s not what Word is tripping on. I’ve also checked head, macStyle and OS/2, fsSelection which are two other pieces of metadata that should contain an «italic» flag (and it does for all fonts that are italic.)

@heatherhjl

@rsms — that is so odd because the Inter-BoldItalic does look correct so it is weird that it trips on the other instances. I think the angle that Word adds is 14, which is way too much in my opinion. This could have to do with how the PDF distiller is interpreting the fonts because in Word they are fine and when printed they are fine, it’s only when they are distilled through the PDF export that those particular instances skew more.

@heatherhjl

@kenmcd

I’m 95% certain that what’s happening here is Word applying faux italic to fonts that are already italic.

No, it appears that Word is applying the fake italics to the regular font.
Take a look at the fonts embedded in the bad PDF (Inter.Desktop.Test.pdf),
they are the regular upright fonts.
This is what Word (and LibreOffice) do when they do not find an italic font and so they fake it.

The PDF library is having the problem.
So I checked the PostScript Name in the fonts.
I think that is the problem.
The PostScript Names do not follow the Adobe guidelines which the Adobe PDFMaker library expects.
Fix those and I think this will be fixed.

@heatherhjl

@kenmcd nice catch. I didn’t have any more time today to look into the difference between the two PDF methods, and most will likely use the Adobe PDFMaker method if they have the add-in installed since it is right there in your face when you go to the File menu in Word.

@kenmcd

@heatherhjl I can make testing fonts tomorrow so we can check this theory.
But this is what happens in LibreOffice Export to PDF when the PostScript Names are off.
Same thing.
Hmmm …. I did not test these fonts in LibreOffice,
Should also do that tomorrow to see if it has a similar issue.

@kenmcd

UGH!
Watching a movie and keep thinking about this.
Looked at the fonts again (on my phone).
The PostScript Names are fine.
Brain fart.

Will test tomorrow in LibreOffice and Affinity Publisher and see if their Export to PDF works.
Plus I have a bunch of PDF printers to test.

Labels

MS Windows

Microsoft Windows is a constant source of font issues :–)

(I’m not a native English speaker, sorry if my English is not perfect).

I’m using MS Word, 16.52, on a MacBook Pro, macOS Catalina 10.15.7.

Today I noticed a problem in the displaying of some typefaces in Word.

While bold and italic used independently seem to work mostly fine, in many typefaces (Libertinus Serif, Alegreya, Noto Sans…) if I format a text in bold and italic together it does not show as bold & italic, but instead as bold & faux-italic, «slanted» bold.
The problem seems to exist only for the specific «bold» weight. In typefaces with more weights, if in the menu I select e.g. «semibold italic» or «light italic», it displays correctly (i.e. semibold & real-italic or light & real-italic, not slanted).
Also, in the font menu or in the «character» window the bold-italic option appears correctly formatted, in bold & real-italic, but it anyway appears as bold & faux-italic when on the page.

The problem does not show with all typefaces; some of them seem to work fine (Times New Roman).

I’ve tried uninstalling and reinstalling a typeface with this problem (Fira Sans), but nothing changed.

Also, I noticed that in some typefaces (Bembo, Minion 3) now «bold» shows as bold & italic (!). Again, this seems to happen only for the «bold» weight; I can have «semibold» without italic, but it seems I can’t have «bold» without italic…

I don’t know exactly when this problem began, but some time ago everything was working fine, at least with the typefaces I used then (I checked a PDF I formatted in Baskerville on June 15th — the bold-italic was displaying correctly, now it is not).

It’s very annoying and I have no idea how to solve it.

Thanks in advance to anyone who can help me.

Old

08-17-2022, 06:13 AM

Novice

shortcut bold not working in single document

 

Join Date: May 2022

Posts: 5

_katapult is on a distinguished road

Default

shortcut bold not working in single document


Hello everyone!

In one of my word files (microsoft office 365), the shortcut to create bold letters does not work. The error states «this command is not available on this platform».

As it is working as usual in all other documents, i was wondering how to repair this issue.

Within the microsoft office settings the usual shortcut is active (i attached a picture)

Does anyone of you have an idea?

Reply With Quote

Old

08-17-2022, 04:37 PM

Default


Since it is only one particular document, the context should not be Normal.dotm.

Change the ‘Speichern in:’ dropdown to the document in question and see if the shortcut is applied there. If you try to add it in that document you should get a message that tells you what the keyboard shortcut is already applied to.

__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia

Reply With Quote

Old

08-18-2022, 04:30 AM

Novice

shortcut bold not working in single document

 

Join Date: May 2022

Posts: 5

_katapult is on a distinguished road

Default


Perfect, thank you!!

Quote:

Originally Posted by Guessed
View Post

Since it is only one particular document, the context should not be Normal.dotm.

Change the ‘Speichern in:’ dropdown to the document in question and see if the shortcut is applied there. If you try to add it in that document you should get a message that tells you what the keyboard shortcut is already applied to.

Reply With Quote

kjfonline


  • #1

If I do the Ctrl-B it does not recognize the command and no change. If I
click the B icon on the toolbar it looks like it works, but as soon as I
start typing in the change it immediately reverts back. The only way to bold
is to go into Format and then Font from the top of the document, but again to
get out of bold you have to go to the Format Font. This started in the
middle of working correctly forever. I did have a macro assigned to turn
bold on and off with the F4 key. It will not work either. I have deleted
the Word program and reinstalled it even, but it still does this. I do
question if I am deleting everything as my WORD saved personal files were not
deleted. Any suggestions?

Advertisements

Beth Rosengard


Want to reply to this thread or ask your own question?

You’ll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.


Ask a Question

RRS feed

  • Remove From My Forums
  • Question

Answers

    • Proposed as answer by
      Naomi N
      Wednesday, December 19, 2012 1:55 PM
    • Marked as answer by
      Ed Price — MSFTMicrosoft employee
      Sunday, January 6, 2013 11:22 PM

All replies

  • It was reported as fixed, but recently got broken again. Search this forum, that problem was discussed recently.


    For every expert, there is an equal and opposite expert. — Becker’s Law

    My blog

  • This is the related
    thread

    BTW, I do not see my reply in your thread when I view forum’s threads.


    For every expert, there is an equal and opposite expert. — Becker’s Law

    My blog

  • UPDATE: I resubmitted this as a bug request just in case they thought they fixed it.

    Like when we went through the issue/thread Naomi mentioned, I went to that forum you linked to and tried to repro. I see bold there fine. So it’s only an issue with some users where you don’t see bold but I do. Strange.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog,
    Twitter,
    Wiki)

  • Hi Ed,

    Thanks for your attention, but I couldn’t see the BOLD font style in your reply, can you?

    I’m using IE 9 and IE 10 on multiple machines.


    Max Meng
    TechNet Community Support

  • Well, interesting, in some 3rd-party browsers it works. (And some doesn’t.)


    Max Meng
    TechNet Community Support

  • I see UPDATE in bold in Ed’s message. I am using Google Chrome.


    For every expert, there is an equal and opposite expert. — Becker’s Law

    My blog

    • Edited by
      Max Meng
      Wednesday, December 19, 2012 5:10 AM
  • You’re right, it’s not working in that thread for me either. 


    For every expert, there is an equal and opposite expert. — Becker’s Law

    My blog

  • Works for me in IE8. We found in the other thread that Naomi linked to that it didn’t make any sense. Some users just couldn’t see bold. I could see it in any browser on any forum. Strange.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Customer Program Manager (Blog,
    Twitter,
    Wiki)

  • Yes, strange, it doesn’t work on my IE8.


    Max Meng
    TechNet Community Support

    • Proposed as answer by
      Naomi N
      Wednesday, December 19, 2012 1:55 PM
    • Marked as answer by
      Ed Price — MSFTMicrosoft employee
      Sunday, January 6, 2013 11:22 PM
  • No bold
    there with IE 9, Firefox or Opera. Bold visible with IE 9 compatability view.

    Though if you change to compatability view, you get
    scrollbars overlapping code snippets.

    Thanks a lot sipla, I haven’t thought of Compatibility View. It works!

    But I couldn’t consider this issue as solved, because I don’t want to click the
    Compatibility View button (to check if there would be BOLD
    fonts) for each page I open.

    Using IE 9 or IE 10, I changed the Browser Mode to IE 8, it didn’t work. But if I changed the
    Browser Mode to IE 7, it worked. Just as the Compatibility View.

    It seems that the Font format only compatible with IE 7 or earlier.


    Max Meng
    TechNet Community Support

Written by Allen Wyatt (last updated September 8, 2022)
This tip applies to Word 2007, 2010, 2013, and 2016


Whenever Martha hits Enter to begin a new paragraph, she notices that bold is turned on. No matter what she does, she cannot get bold to stop turning on by itself, so she is wondering why this is happening.

There are two possible reasons why this is happening, and both have to do with styles. So, before explaining how to fix it, a short discussion of styles is in order.

Everything related to formatting in Word is based on styles. Even if you don’t know what they are or what they do, they still come into play in how your text works. In Word, a style is a defined set of properties applied to text. For instance, a style may define that text is 12-point Arial, bold and blue. Or, a style may define that same text as 14-point Tahoma, italic and underlined. When you change the style applied to text, how that text appears also changes.

Of course, Word provides formatting tools on the Home tab of the ribbon. It is easy to use those tools to change the appearance of text. When you do so, though, you are only affecting the currently selected text, and it doesn’t affect the style that Word automatically applies to your text. The formatting tools on the ribbon basically «overlay» formatting on top of the default formatting dictated by those styles.

So, what does this have to do with Martha’s situation? There is a very good chance that it is one of Word’s built-in styles that is affecting what happens when Martha hits Enter. There are two style-related settings to check in her case. To examine the first possibility, follow these steps:

  1. Display the Home tab of the ribbon.
  2. Click the small icon at the lower-right corner of the Styles group. Word displays the Formatting task pane at the right side of the screen.
  3. Scroll through the list of styles in the Formatting task pane until you can see the Normal style.
  4. Hover the mouse pointer over the Normal style. A drop-down arrow should appear at the right of the style name.
  5. Click the down arrow and choose Modify. The Modify Style dialog box appears. (See Figure 1.)
  6. Figure 1. The Modify Style dialog box.

    This Modify Style dialog box is used to define the formatting characteristics associated with the Normal style. Why is this important? Because the Normal style is used, by default, for all text in Word. Even if you don’t pay attention to styles, the Normal style is used for all your text. Look at the way the dialog box appears in your version of Word; it will more than likely be different from the dialog box shown above. Pay particular attention to the settings in the Formatting area, about midway through the dialog box. If the Bold indicator is «turned on» in your dialog box, then your text is going to appear as bold because that’s the way that the style is defined. If this is the case, then you can click the Bold indicator (to turn it off) and then click OK. Your problem should be solved.

    This brings us to the second—and more likely—possibility for Martha’s situation. Notice in the Modify Style dialog box that there is a drop-down list entitled Style for Following Paragraph. This is a very powerful setting for a style. This drop-down list specifies what style should be applied to a new paragraph whenever you press Enter. Here’s how this setting translates into actual use:

    Word uses the Normal style, by default. So, you are typing along, and whatever formatting is defined for the Normal style is applied, automatically, to your text. When you come to the end of a paragraph, you instinctively press Enter to start a new paragraph. As soon as you do, whatever style is specified in the Style for Following Paragraph drop-down is applied to the new paragraph. If that specified style is set to use bold text, then you get Martha’s situation—the new paragraph seems to have «bold turned on.»

    The solution is to note what style is specified in the Style for Following Paragraph drop-down list and use the above steps to display the Modify Style dialog box for that style. (Just make sure you use that style in steps 3 and 4.) Once displayed, turn off the Bold indicator, click OK, and the problem should not crop up again.

    I’ve assumed throughout this tip that the culprit is the Normal style or is at least related to the Normal style. This is the most likely scenario, but it is possible that the problem is a style different from Normal. The way to make absolutely sure of which styles are affecting your formatting is to display the Formatting task pane by following steps 1 and 2, above. Then, as you are typing, pay attention to when the «bold-after-Enter» problem occurs. Immediately upon noticing it, take a look at the Formatting task pane. The style applied to the current paragraph by Word is highlighted there; this is your «offending style» and the one you need to change. Further, if you press the up-arrow key once (so that your insertion point is now in the paragraph just before where you pressed Enter), the style for that paragraph is selected in the Formatting task pane. This is the style that has the Style for Following Paragraph drop-down list set to the «offending style» you noted a moment ago. Now that you understand how these styles work in relation to each other, you can modify their settings to get the bothersome bolding fixed.

WordTips is your source for cost-effective Microsoft Word training.
(Microsoft Word is the most popular word processing software in the world.)
This tip (1361) applies to Microsoft Word 2007, 2010, 2013, and 2016.

Author Bio

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. Learn more about Allen…

MORE FROM ALLEN

Replacing Some Smart Quotes

Smart quotes look great in a document, but may not be right for all instances of quote marks or apostrophes. If you need …

Discover More

Symbols for Non-Printing Characters

Displaying non-printing characters can help you better understand the formatting and contents of your documents. What do …

Discover More

Selecting Objects

Windows uses a graphical user interface that requires the manipulation of objects that appear on the screen. …

Discover More

Glyphs Forum

Loading

Get Glyphs

  • Features
  • Learn
  • Forum
  • Resources
  • News
  • Events

I wand to bold a range on MS Word document using C#.
The code is :

Range.Font.Bold=1;

When I look at the documnet I see that the bold button is on but the text is not bold.

The same probalem appear when I use Selection method .

Any idea?

  • c#
  • ms-word

Joachim Sauer's user avatar

Joachim Sauer

300k57 gold badges553 silver badges612 bronze badges

asked Feb 2, 2010 at 11:00

politrok's user avatar

politrokpolitrok

412 silver badges4 bronze badges

1

  • Can you please mark the answer to your question?

    Feb 25, 2010 at 20:08

1 Answer

answered Feb 2, 2010 at 13:09

sidney.andrews's user avatar

sidney.andrewssidney.andrews

5,1163 gold badges23 silver badges29 bronze badges

2

  • @politrok I would very much appreciate that!

    Feb 19, 2010 at 13:18

  • it’s -1 because the value for True in VB is -1

    Jan 10, 2018 at 20:33

Понравилась статья? Поделить с друзьями:
  • Bold in word for mac
  • Bold in word document
  • Bold border in word
  • Body word выставка вднх
  • Body word wrap break word