Why Is Arial Black Rendering in Italics?

强颜欢笑 提交于 2020-01-04 02:40:12

问题


Been working on a site and the designer has decided to use Arial Black as the h1 & h2 font-face.

All is well however upon using this font I have quickly discovered it renders in Italics.

Has anyone else come across this issue? and if so what was your solution to rectifying this? I'm not sure I can justify purchasing 'Arial Black' as its a windows standard font...

I read that there was an issue back in XP SP3 that the Arial Black font was overwritten with the Italics version.. but does this still persist in Windows7?

Just looking for someone to shed some light on the matter and in a perfect world, inform me of a solution.


回答1:


Figured out the issue for me, I had an Arial Black Italic font in my Windows Fonts that was causing that issue, removing it solved the issue.

  1. Start -> Run : Type "%windir%\fonts" -> hit Enter
  2. Find the "Arial Black Italic" font, move it to a temporary location (say My Documents)
  3. Restart Chrome

You should be all good now ... there are people out there who have had luck by removing all the Helvitica fonts, not sure how that would help.




回答2:


Mine's not rendering any on that page in italic, you should should be able to target it with

h1, h2 {font-style:normal;}




回答3:


just add

font-weight: bold;

and it will be ok.




回答4:


just set css to:

font-weight: 900;


来源:https://stackoverflow.com/questions/8333898/why-is-arial-black-rendering-in-italics

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!