473,378 Members | 1,469 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,378 software developers and data experts.

Overpower.ImageLib Fonts Problem

Hello

I have a ASP script that generates a jpg/gif image using the
Overpower.ImageLib component.

I do all my tests on my own intranet server before uploading it to the
webhost

Actually i try to use the font "CasacedScript" to generates page
titles.

On my Intranet it works perfectly... but when uploading it, it doesn't
work anymore... it shows the font Times instead.

I send the font installation package to my host to have them install
them on their server and they did it... now actually it doesn't work
with the ImageLib component.

But we tried something, we wrote a HTML page with that :
<font face=CascadeScript size=+5>testing the font</font>

when called by IExplorer directly on the server, this work... the good
Font is showed... but when i try using my component to get this
font... it doesn't seem to work.

Since the HTML page can display it, it must be installed on the
server... so why does my component don't display the good font?

here's my code for generating images :

<%@ Language=VBScript %>
<% option explicit %>
<%
dim ILIB
dim vStr, vCol, vW
vStr = Request.QueryString("s")
if vStr <> "" then
vCol = Request.QueryString("c")
if vCol = "" then
'couleur bleue par défaut
vCol = "012147"
end if

vW = Request.QueryString("w")

' Création de l'objet OverPower
set ILIB = server.createobject("Overpower.ImageLib")
' Paramètrage du compteur
ILIB.FontColor = "#" & vCol
ILIB.PenColor = "#" & vCol
ILIB.BrushColor = "#FFFFFF"
ILIB.FontFace = ""
ILIB.FontSize = 14
ILIB.FontBold = false
ILIB.FontItalic = false
ILIB.FontAntialiasing = true
if vW = "" then
ILIB.width = ILIB.GetTextwidth(vStr)+4
else
ILIB.width = vW
end if
ILIB.height = ILIB.GetTextHeight(vStr)+4 + 3
ILIB.fBox 1,1,ILIB.WIDTH,ILIB.HEIGHT
ILIB.Textout vStr,1,1
ILIB.Line 1, ILIB.HEIGHT - 4, ILIB.WIDTH - 1, ILIB.HEIGHT - 4
ILIB.PictureBinaryWrite 3, 100, ""
end if
%>
So if anybody could have any simple idea of what the problem could
be... please help me!

thank you very much in advance
StaZ
Jul 19 '05 #1
0 1717

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

Similar topics

8
by: Randell D. | last post by:
I have just recompiled, upgraded to PHP 4.3.4. As an exercise (and curiosity) I've decided to test out PDF functions and got the test in the PHP online manual working. I had one problem whereby...
1
by: Jack Charbonneau | last post by:
I have a bunch of custom fonts installed on my system. For instance if I look at the font drop-down in word pad I see about 90 fonts, but if I build an app using VS.Net, add a label, and try to...
0
by: StaZ | last post by:
Hello I have a ASP script that generates a jpg/gif image using the Overpower.ImageLib component. I do all my tests on my own intranet server before uploading it to the webhost Actually i...
0
by: LaidBack Bill | last post by:
My application allows the user to select fonts. I fill in a combo box control with the available fonts by looping through all System.Fonts: ' Get all the screen fonts ReDim...
7
by: Scott | last post by:
Sorry if this is a dumb question - bit of a newbie to Access: Just getting to grips with OfficeXP Developer, the intention being to be able to deploy a simple Access application to various...
4
by: L | last post by:
Hi there, Does C# support OpenType fonts? My c# application is not recognizing OpenType fonts. Thanks, Lalasa.
5
by: Alex Glass | last post by:
I have created a winforms application and I designed it with the normal display settings, (96DPI) however, when I set the font settings to 120 DPI, my application text labels look all messed up. ...
4
by: Aaron Gray | last post by:
Is there anyway to get a list of all the availiable fonts in Javascript ? Aaron
2
by: Luc | last post by:
I saw a few posts on this newsgroup about it but nothing to help me resolve this problem: We designed a window in .NET on a platform using small fonts (120 ppp). But this window will run on...
12
by: ctclibby | last post by:
Hi all Have a customer that wants a specific font included in her web page design; Comic Sans MS. This is one of the MS core fonts. The problem I have is that some of the *nix browsers do NOT...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.