473,387 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Imported image of text doesn't look as good as native font

Doc
I've been putting together a website using Webeasy. It works really
well, however I'm encountering an issue regarding importing images.

I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands. One is too small and
the next is too large. So, I created an image in Paint Shop Pro,
resized it, converted to jpg and tried that. However, I find that it
seems to lose something in the translation. It doesn't look as sharp
on the web page as it does in PSP, even with the lowest .jpg
compression setting. What can I do to retain the crispness?

Thanks!
Jul 20 '05 #1
10 2519
Doc wrote:
I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands.
The <font> element is deprecated and should not be used. Try (the far far
far more flexible) CSS instead.
One is too small and the next is too large.
The old <font> element was very primitive.
So, I created an image in Paint Shop Pro, resized it, converted to jpg and
tried that.


And the size will still vary as the size of a pixel is different on
different systems.

Forget about pixel perfect design - it isn't really achievable.
--
David Dorward http://dorward.me.uk/
Jul 20 '05 #2
if it is simple text in a web-safe color on a solid background, try Gif
instead
"David Dorward" <do*****@yahoo.com> wrote in message
news:bj*******************@news.demon.co.uk...
Doc wrote:
I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands.


The <font> element is deprecated and should not be used. Try (the far far
far more flexible) CSS instead.
One is too small and the next is too large.


The old <font> element was very primitive.
So, I created an image in Paint Shop Pro, resized it, converted to jpg and tried that.


And the size will still vary as the size of a pixel is different on
different systems.

Forget about pixel perfect design - it isn't really achievable.
--
David Dorward http://dorward.me.uk/

Jul 20 '05 #3
Doc wrote:
I've been putting together a website using Webeasy. It works really
well, however I'm encountering an issue regarding importing images.

I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands. One is too small and
the next is too large. So, I created an image in Paint Shop Pro,
resized it, converted to jpg and tried that. However, I find that it
seems to lose something in the translation. It doesn't look as sharp
on the web page as it does in PSP, even with the lowest .jpg
compression setting. What can I do to retain the crispness?


Chances are .jpg is the wrong type of image for the job, it is best for
photographic quality, but not for line art.

Why not skip the image and look into the CSS border property instead?

--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.

Jul 20 '05 #4
Wasn't it Doc who wrote:
I've been putting together a website using Webeasy. It works really
well, however I'm encountering an issue regarding importing images.

I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands.


Did you know that you are not limited to integer point sizes for fonts
in HTML, when you use CSS? If you want to, you can specify your text
displayed in 23.125 point characters, and the fractional size will be
honoured in most browsers, including MSIE and Opera. I don't know about
Netscape.

There may possibly be advantages to using real text rather than a
graphic:-

The page loads faster.
Search engines can index the text.
It's easier to get it to look reasonable on screens of different widths
(or where part of the browser window is being used for Favourites or
History).
It's easier to get it to look reasonable when printed.
Visually impaired people can tell their browser to display larger text,
and the fractional point sized text scales correctly relative to integer
sized text.
Blind people can read the text with speaking screen readers.

--
Mike Williams
Gentleman of Leisure
Jul 20 '05 #5
On Thu, 11 Sep 2003 22:04:39 +0100, Mike Williams
<mi**@econym.demon.co.uk> wrote:
Did you know that you are not limited to integer point sizes for fonts
in HTML, when you use CSS? If you want to, you can specify your text
displayed in 23.125 point characters, and the fractional size will be
honoured in most browsers, including MSIE and Opera. I don't know about
Netscape.
If you use ems instead of pts, then all of these advantages still hold:
The page loads faster.
Search engines can index the text.
It's easier to get it to look reasonable on screens of different widths
(or where part of the browser window is being used for Favourites or
History).
It's easier to get it to look reasonable when printed.
Blind people can read the text with speaking screen readers.
But this one gets even better.
Visually impaired people can tell their browser to display larger text,
and the fractional point sized text scales correctly relative to integer
sized text.


When you use ems, visually impaired people who already have their
default font size set larger don't have to do anything at all with their
browser to have it display readable text.

And, of course, you can use fractional em sizes as well.

--
Greg Schmidt (gr***@trawna.com)
Trawna Publications (http://www.trawna.com/)
Jul 20 '05 #6
On 11 Sep 2003 12:18:05 -0700, do*********@yahoo.com (Doc) wrote:
I've been putting together a website using Webeasy. It works really
well, however I'm encountering an issue regarding importing images.

I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands.
One is too small and the next is too large.
Ever tried to specify the font size in points instead of the default
font sizes using <font size="12pt">.

You could also specify the style in a style sheet....
So, I created an image in Paint Shop Pro,
resized it, converted to jpg and tried that. However, I find that it
seems to lose something in the translation. It doesn't look as sharp
on the web page as it does in PSP, even with the lowest .jpg
compression setting. What can I do to retain the crispness?
Do not save text as JPG. Text should have sharp borders of high
contrast colors - this is a typical application for GIF or PNG.

Michael
Thanks!


Jul 20 '05 #7
Xalinai wrote:
On 11 Sep 2003 12:18:05 -0700, do*********@yahoo.com (Doc) wrote:


I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands.
One is too small and the next is too large.

Ever tried to specify the font size in points instead of the default
font sizes using <font size="12pt">.


Points are for print on paper. Use em, ex or a percentage (not lower
than 80%) instead, as pointed outbefore in this thread.

--

Barbara

http://home.wanadoo.nl/b.de.zoete/html/weblog.html *Dagboek*
http://home.wanadoo.nl/b.de.zoete/html/vliegen.html *Zweefvliegen*?

Jul 20 '05 #8
On Fri, Sep 12, Xalinai inscribed on the eternal scroll.
seen on comp.infosystems.www.authoring.html:
Ever tried to specify the font size in points


Sure I've tried it. 1: in a web browsing context it doesn't work
(popular browsers aren't calibrated to produce the specified size at
whatever dpi the display is being used), and 2: even if they were, it
wouldn't produce the desired result (which is, or ought to be, text at
a size which can be comfortably read by each web user according to
their wishes or needs; also, consider that a font size of exactly
12pt, one-sixth of an inch, wouldn't be so very useful on a 30-foot
projection screen for example, any more than it would be on the tiny
head-up display of a wearable).

It's undoubtedly the right choice for printed matter, but what on
Earth does this have to do with authoring HTML for the WWW, which is
the topic of this group?

Jul 20 '05 #9
Doc wrote:
I've been putting together a website using Webeasy. It works really
well, however I'm encountering an issue regarding importing images.

I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands.
There are no "font face and size commands" in HTML. The <font> element,
which has face and size attributes, was deprecated *FIVE YEARS AGO* in
favor of CSS.
One is too small and the next is too large. So, I created an image in
Paint Shop Pro, resized it, converted to jpg and tried that. However, I
find that it seems to lose something in the translation. It doesn't look
as sharp on the web page as it does in PSP, even with the lowest .jpg
compression setting. What can I do to retain the crispness?

Thanks!


Don't use images for text.

Drop Webeasy in favor of an editor which has CSS support. Modern editors
should not make it easy for you to put in <font> or other deprecated
elements/attributes as this is not how to make new documents in 2003.

--
Shawn K. Quinn
Jul 20 '05 #10
In message <f0**************************@posting.google.com >, Doc
<do*********@yahoo.com> writes
I've been putting together a website using Webeasy. It works really
well, however I'm encountering an issue regarding importing images.

I wanted a particular line to be a size that's between those that I'm
able to get using a font face and size commands. One is too small and
the next is too large. So, I created an image in Paint Shop Pro,
resized it, converted to jpg and tried that. However, I find that it
seems to lose something in the translation. It doesn't look as sharp
on the web page as it does in PSP, even with the lowest .jpg
compression setting. What can I do to retain the crispness?

Thanks!


Export the file as .gif

regards.

--
Jake
Jul 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: lkrubner | last post by:
Suppose I need to get an image as a stream of bytes. I want to store this in a variable and then embed it in some Postscript code. In my Postscript code, the image might look like this: {<...
3
by: Greg Heilers | last post by:
Hello everyone... If one has a <div> that is completely filled with a background-image; how does one style it so that the image *continues* to fill the <div> top-to-bottom, left-to-right; if...
7
by: Yeah | last post by:
Ever since I upgraded my Windows display to 120 DPI (kind of a necessary change), fonts have been clearer and graphics have been crisper. However, the 25% automatic increase in the text size on my...
14
by: Schraalhans Keukenmeester | last post by:
I am building a default sheet for my linux-related pages. Since many linux users still rely on/prefer viewing textmode and unstyled content I try to stick to the correct html tags to pertain good...
4
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. ...
3
by: =?Utf-8?B?SlIx?= | last post by:
I would like to add text to an image. I have tried to use DrawString and it works on some images but on others it is very very small. I am pretty sure it has something to do with the size of the...
6
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
1
by: neovantage | last post by:
Hey all, I am using a PHP script which creates headings at run time in a sense at page execution. I am stuck a with a very little problem which i am sure i will have the solution from experts. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.