Posted by nicolaisen_nancy on May 26, 2008 at 10:49pm
3 followers
| Project: | CAPTCHA |
| Version: | 6.x-2.x-dev |
| Component: | Image Captcha (image_captcha) |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I installed Image CAPTCHA without installing a true type font. When I next restarted, Windows Desktop, Windows explorer, and IE had corrupted color settings and the font looked like a raster font ( bad, in otherwords. ) I got the color settings taken care of using Windows Control Panel. I reset fonts for most everything using IE Tools.Internet Options. However, my drupal application still has the bad font. I have flushed all the cache tables, the history and the session using phpMyAdmin.
It's an annoying problem on the development system, but I am very concerned about uploading the problem to the hosting environment. Best Regards, Nancy Nicolaisen
Comments
#1
#2
Are you saying that installing the CAPTCHA module on a localhost site nuked your Windows environment? This seems very hard to believe.
If you don't provide a true type font for the image CAPTCHA, you get a default PHP built-in font, which is indeed crappy, but it's better than nothing. Because of licencing we can't package fonts with the image CAPTCHA module.
Therefore it is recommended that the site admin itselfs provides a TTF font.
Upload a TTF font, e.g. to the fonts directory in the image_captcha module directory and use that instead.
#3
Right, that's what happened. It may make a difference that this is Windows Vista. I have reset fonts in both IE and control panel, but things are still not entirely back to normal. If this is a problem that just comes from dependencies in the localhost development environment, then it's not that critical ( tho I do find myself wasting a lot of time following up hunches on how to reset the default fonts, because it's just not easy on the eyes to look at un-pretty fonts for hours at a time...) My real concern is that this not-so-great appearance will be transferred the the server and everyone will see the pages that way.
Thanks for any advice you can offer. Best Regards, NN
#4
So a module written in plain php without operating system specific code or any other fancy system level stuff changes some settings of your operating system as a side effect? Are you sure the image CAPTCHA is the culprit?
Can you give screenshots of what you are talking about?
#5
Sure. It occurs to me however, that it might save you time if I explicitly uninstalled the php font. Now pretty much everything except my drupal site project has appropriate font usage. How do I go about that?
#6
What is wrong in the screenshot? Everything seems acceptable to me. I don't use Vista, so I don't know how it should look.
Also, where is the image CAPTCHA?
And how do you "uninstall" the php font? It's built-in in the GD library. Do you compile PHP yourself or something?
#7
The fonts are very badly eroded, particularly the H1, but the defects are apparent in the body text of the nodes. When I view the screenshot these problems are exaggerated, so if you can't see them on your system they may be particular to mine. Perhaps I need to "unselect" the PHP font? In any case, it seems we may have exhausted the opportunities to interact here. No need to trouble yourself further.
Best Regards, Nancy Nicolaisen
#8
I still don't understand the ins and outs of your problem and don't have a clue how the image_captcha could be the cause of the problems you've described.
it's best to close this thread then