Computing.Net > Forums > Web Development > embedding logos in text

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

embedding logos in text

Reply to Message Icon

Name: Phil Perry
Date: February 12, 2005 at 13:17:12 Pacific
OS: any
CPU/Ram: any
Comment:

I am creating an HTML Web page and wish to include the TeX and LaTeX logos (in case you didn't know, those are text processing markup languages). These logos are made up of standard Latin letters arranged with some funky scaling and kerning. While TeX and LaTeX can easily handle this, I am not aware of any such scaling and kerning control in HTML. So far the best I have come up with is to create an image file and to include it in-line with the rest of the sentence, something like "...we use the *LT*IMG SRC="images/latexlogo.jpg" ALT="LaTeX (pronounced Lah-Tech)" WIDTH="xxx" HEIGHT="yyy"*GT* markup language to...". Is this the best way? While the ALT tag should permit usability for screen readers and non-graphics browsers, if the browser's default font size is different from mine the logo won't scale up or down, and will look ugly. Is there any widely-supported way to scale graphics in step with whatever the font size is? And, as long as I'm asking, is PNG widely enough supported to make it a better choice than JPEG? I'm using The GIMP, which doesn't create GIF output. Thanks in advance for any help!



Sponsored Link
Ads by Google

Response Number 1
Name: Dr. Nick
Date: February 12, 2005 at 14:36:58 Pacific
Reply:

A few answers:

First, odds are that you won't be able to achieve the look you're going for as seen on their home page. They use an image to show the logo, and you will need to as well.

For the ALT attribute, I'd just do as they do and use the "LaTeX" label.

I don't believe there are any scalable (vector) graphics that are widely supported natively, but as long as you use a specific font size then you'll probably be fine. If you're worried about it though, you might consider just saying "LaTeX" instead of using an image.

As to what format to use, PNG offers good filesize/quality ratios but IE does not support PNG transparency without using a special filter. As long as you don't use transparency then PNGs are fine. JPEG isn't what you want for a small low-color image. GIF is ideal for this application.

Have you updated GIMP lately? The copyright on the LZW (GIF) algorithm expired recently, so it should be able to read and write GIF files just as the PHP gd2 library can now. You might check to see if a newer version has this ability.


0

Response Number 2
Name: Phil Perry
Date: March 18, 2005 at 14:24:42 Pacific
Reply:

Hi Dr. Nick! Thanks for the suggestions. I will get a newer copy of The GIMP and see what it does about GIFs. I will give an image a try and see how it looks -- if customers say it looks crummy, I'll change to just "LaTeX" text in-line and put an image of the logo elsewhere.

Phil


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Dreamweaver MX Updates IE 5.0/6.0 wouldn't displ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: embedding logos in text

Embedding HTML In A Cell www.computing.net/answers/webdevel/embedding-html-in-a-cell/2184.html

how to make an open text box..... www.computing.net/answers/webdevel/how-to-make-an-open-text-box/2902.html

how to make an open text box..... www.computing.net/answers/webdevel/how-to-make-an-open-text-box/2899.html