some fonts are bold and some not [closed] - html

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm having problem to find why fonts are bold, even tho i didnt apply bold, but half are not bold. which is kind of more confusing.
so some are bold and some are not.
[Warning, link plays arabic vocals !] :)
check following screenshot and here is live demo link (on demo link will play audio, please click on pause and it wont play again on refresh)
if you see on top right corner, that arabic word is showing normal and next to it the other arabic fonts are bold.
on second line, same second word is not bold, which it was on first line. o.0

One possibility (that I have experienced) is that the font-face you are using does not have bold for the things you are looking for. (btw, I can't tell differences in my browser, Opera, everything looks gray).
I experienced this with a font I implemented using #font-face and font that the font I had chosen didn't have any bold versions at all for to use.

This seems be an artifact of how the text is rendered.
If you take the text value of one word in your span and move it to another, it renders the exact same way. In other words, this isn't caused by CSS. Different text seems to render at different weight.

Related

font looks different while coding. how to fix it? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I designed a page in photo shop.
When I try to convert it to HTML the header font looks a bit different.
But I applied the same styles and font, for example size is 36pt in Photo shop(non bold), I could get the same effect while I add BOLD when I coding in HTML.
The main problem is that, the font looks like cut letters, meaning the " I " looks like two dashes vertically arranged.
How to solve this?
Save that "page" as an image and then put that image into an HTML file.
EDIT: I think you can just use the PRINT key on your keyboard to make it really look like on your computer - even with all the Photoshop toolbars and such! But don't forget to provide the users with the color profile and illumination profile of your monitor and an exact layout of your room, and don't forget the type of light bulb you are using, the thickness and tinting of the glass in your windows and of course the angle of the sun!
The problem with converting photoshop files to a website is that Photoshop renders fonts different then browsers. In most of the cases, fonts are displayed the same as in your design, but sometimes you just can't get the fonts look exactly the same as in your photoshop file. Unfortunately, there isn't a fix for this yet.
Photoshop simply has a lot more font functionalities then browsers so you'll have to be satisfied with the simplified version in your browser.
What you can do is slice the text from the PSD as an image and include that in your HTML, but that is a very outdated method which will increase the loading time of your website.

Gray text on website has color [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I came across some nice CSS designs that I am trying to replicate on my own site. The problem is, the designs were presented as images...screenshots of the actual page. This means I've been trying to replicate the design in my own CSS.
Here is the problem: the text I am rendering is colored as grayscale (all rgb values are equal) in my CSS, but if I screenshot my page and zoom in, you can see colored pixels throughout the text. The original design does not have those...it is perfectly gray, and thus, looks much more smooth.
Here is the original at regular size (very smooth looking):
And here it is zoomed in (notice that all pixels are grayscale):
Now, here is my attempt at regular size (notice how rough it looks):
And zoomed in (see all the colored pixels):
What on earth in happening here? How can I achieve the smooth look of the original design, without the colored pixels?
The original author might have been using a different system when they took the screen shot. Mac and Windows machines smooth fonts differently. There is a -webkit-font-smoothing property, but I think this will only apply to Safari on Mac in the future.
I often experiment with text-shadow to achieve smoother looking fonts. Results vary depending on how much contrast there is with the text and background.
How To Properly Smooth Font Using CSS3

SEO for imaged typography [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Since font rendering is a nightmare on cross platforms (i.e. windows has very ugly anti aliasing, and TTF fonts are not anti aliased at all) I came up with the idea to create a png file for every heading in my design.
My question however implies that if I would create a H1 html element and hide it with CSS while the title is shown by a png image, would search engines this work around?
What you are proposing is a very common method for replacing text with an image. Search engines don't mind.
I would suggest that instead of hiding the element, move it off-screen, -5000px or so. Also, your users are probably going to hate you, since your site will be slow. Best just to deal with the typography as it is. I don't know what Windows system you're using, but anti-aliasing works just fine on all of my Windows boxes. If you need a different font, consider web fonts.

GIF and APNG images in IE [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have an animated GIF image. I will be placing it in a transparent overlay in my html page. Is there any way to Smoothen the image (the edges are quite rough, they look fine in the psd)
and is there ANY way to load an APNG in IE 6,7,8.
According to Wikipedia, it is not possible to use APNG in Internet Explorer.
Your only chance of a workaround is to create the GIF (which doesn't support alpha transparency like PNG does, which is the reason for the rough edges) in a way that works with the background you're putting it on - like, defining the dominant background colour as the transparent colour so the edges are calculated for that colour instead of black.
It will depend on the image editing program you are using whether that is possible or not.
I know this is an old post but for those that want to support APNG on IE or Safari, there is a javascript workaround that's found below:
http://ajaxian.com/archives/apng-class-get-apng-going-on-all-browsers
http://www.devthought.com/projects/mootools/apng/
Currently, I believe FF (not sure the version) and Opera (not sure of the version) support it at the browser level. For Chrome, you can download the APNG extension to get it to work.
Hope this helps.

Best Text Styles in CSS? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Where can i get good and clean CSS for text.
For ex.The word press font and the text looks amazing !!
Any example or any website for making such ?
Typechart is a great tool. Take a look, you can grab the CSS http://www.typechart.com/
Georgia is nice. Unfortunately, web devs are limited to the core 10-12 fonts that are included in most OS's and supported by most browsers. If you want nice fonts for headings or small pieces of text then use Cufon but dont put big blocks of text through this as it wont be selectable. So i'm afraid your lumped with the basic fonts: Verdana, Tahoma, Arial, Palatino, etc...
While not exclusively for text (more design in general), CSS Zen Garden is always a great place for ideas, etc.