|
 |
asp_web_howto thread: font type viewer--plz help
Message #1 by "taherm@f... on Fri, 22 Jun 2001 09:54:21
|
|
Scenario
i want to incorporate a facility to view font types on my website. for
example there will be a list menu in my website which will list differnt
font types. there will also be a text box where user will enter a text and
a submit button.
the user will select a font type eg. Arial and will type some text in the
text box and clicks the submit button.
the text which the user had typed is then displayed in the selected font
style (eg. Arial). this has been achieved in the following website
http://www.eyewire.com/cgi-bin/WebObjects/TypeViewer
have a look at teh above url. I want to achieve this in my website using
asp.
I will greatly appreciate any sort of suggestions.
Thanking you in advance
Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 22 Jun 2001 10:05:54 +0100
|
|
do view source and look at their code... ?
-----Original Message-----
From: taherm@f...
[mailto:taherm@f...]
Sent: 22 June 2001 10:54
To: ASP Web HowTo
Subject: [asp_web_howto] font type viewer--plz help
Scenario
i want to incorporate a facility to view font types on my website. for
example there will be a list menu in my website which will list
differnt
font types. there will also be a text box where user will enter a text
and
a submit button.
the user will select a font type eg. Arial and will type some text in
the
text box and clicks the submit button.
the text which the user had typed is then displayed in the selected
font
style (eg. Arial). this has been achieved in the following website
http://www.eyewire.com/cgi-bin/WebObjects/TypeViewer
have a look at teh above url. I want to achieve this in my website
using
asp.
I will greatly appreciate any sort of suggestions.
Thanking you in advance
Message #3 by "taherm@f... on Fri, 22 Jun 2001 10:29:02
|
|
hi alex,
i have checked teh code inside out, everything is generated dynamically.
they have used cgi.
any more clues....
thanks
> do view source and look at their code... ?
>
> -----Original Message-----
> From: taherm@f...
> [mailto:taherm@f...]
> Sent: 22 June 2001 10:54
> To: ASP Web HowTo
> Subject: [asp_web_howto] font type viewer--plz help
>
>
> Scenario
>
> i want to incorporate a facility to view font types on my website. for
> example there will be a list menu in my website which will list
> differnt
> font types. there will also be a text box where user will enter a text
> and
> a submit button.
> the user will select a font type eg. Arial and will type some text in
> the
> text box and clicks the submit button.
>
> the text which the user had typed is then displayed in the selected
> font
> style (eg. Arial). this has been achieved in the following website
>
> http://www.eyewire.com/cgi-bin/WebObjects/TypeViewer
>
> have a look at teh above url. I want to achieve this in my website
> using
> asp.
>
> I will greatly appreciate any sort of suggestions.
> Thanking you in advance
>
Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 22 Jun 2001 10:44:38 +0100
|
|
for fonts already installed on the client its very easy - all you need
is a
drop-down of fonts and a drop-down of sizes, then when either is
changed the
new font or size is applyed to the text with
oText.style.fontFamily=3DddFonts.value;
or
oText.style.fontSize=3DddSizes.value;
the difficulty will arise when you are trying to apply fonts that are
not
already installed, as they would need to be downloaded first.
That site that you gave a link to actually provides an image of the
typeface. They must be using some kind of server component to generate
the
image on the fly. If you wanted to make life easy for yourself,
instead of
allowing the user to type some text in, just have a pre-defined piece
of
text, and create a whole load of images yourself.
-----Original Message-----
From: taherm@f...
[mailto:taherm@f...]
Sent: 22 June 2001 11:29
To: ASP Web HowTo
Subject: [asp_web_howto] RE: font type viewer--plz help
hi alex,
i have checked teh code inside out, everything is generated
dynamically.
they have used cgi.
any more clues....
thanks
> do view source and look at their code... ?
>
> -----Original Message-----
> From: taherm@f...
> [mailto:taherm@f...]
> Sent: 22 June 2001 10:54
> To: ASP Web HowTo
> Subject: [asp_web_howto] font type viewer--plz help
>
>
> Scenario
>
> i want to incorporate a facility to view font types on my website.
for=3D20
> example there will be a list menu in my website which will list =3D
> differnt=3D20
> font types. there will also be a text box where user will enter a
text =3D
> and=3D20
> a submit button.
> the user will select a font type eg. Arial and will type some text
in =3D
> the=3D20
> text box and clicks the submit button.=3D20
>
> the text which the user had typed is then displayed in the selected
=3D
> font=3D20
> style (eg. Arial). this has been achieved in the following website
>
> http://www.eyewire.com/cgi-bin/WebObjects/TypeViewer
>
> have a look at teh above url. I want to achieve this in my website
=3D
> using=3D20
> asp.
>
> I will greatly appreciate any sort of suggestions.
> Thanking you in advance
>
Message #5 by "Taher Moiyed" <taherm@f...> on Fri, 22 Jun 2001 11:09:12 +0100
|
|
Thanks a million Alex
you're a star!!!
but plz i would like to make a request,
and that is if you could find a server component whic could help me it would
be more than excellent.
taher
-----Original Message-----
From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]
Sent: 22 June 2001 10:45
To: ASP Web HowTo
Subject: [asp_web_howto] RE: font type viewer--plz help
for fonts already installed on the client its very easy - all you need is a
drop-down of fonts and a drop-down of sizes, then when either is changed the
new font or size is applyed to the text with
oText.style.fontFamily=ddFonts.value;
or
oText.style.fontSize=ddSizes.value;
the difficulty will arise when you are trying to apply fonts that are not
already installed, as they would need to be downloaded first.
That site that you gave a link to actually provides an image of the
typeface. They must be using some kind of server component to generate the
image on the fly. If you wanted to make life easy for yourself, instead of
allowing the user to type some text in, just have a pre-defined piece of
text, and create a whole load of images yourself.
-----Original Message-----
From: taherm@f...
[mailto:taherm@f...]
Sent: 22 June 2001 11:29
To: ASP Web HowTo
Subject: [asp_web_howto] RE: font type viewer--plz help
hi alex,
i have checked teh code inside out, everything is generated dynamically.
they have used cgi.
any more clues....
thanks
> do view source and look at their code... ?
>
> -----Original Message-----
> From: taherm@f...
> [mailto:taherm@f...]
> Sent: 22 June 2001 10:54
> To: ASP Web HowTo
> Subject: [asp_web_howto] font type viewer--plz help
>
>
> Scenario
>
> i want to incorporate a facility to view font types on my website. for
> example there will be a list menu in my website which will list
> differnt
> font types. there will also be a text box where user will enter a text
> and
> a submit button.
> the user will select a font type eg. Arial and will type some text in
> the
> text box and clicks the submit button.
>
> the text which the user had typed is then displayed in the selected
> font
> style (eg. Arial). this has been achieved in the following website
>
> http://www.eyewire.com/cgi-bin/WebObjects/TypeViewer
>
> have a look at teh above url. I want to achieve this in my website
> using
> asp.
>
> I will greatly appreciate any sort of suggestions.
> Thanking you in advance
>
Message #6 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 22 Jun 2001 11:24:23 +0100
|
|
sorry man, I don't know where to find such a component.
I would suggest searching the good old WWW! try everyones favourite
sites:
http://www.aspfree.com
http://www.4guysfromrolla.com
http://www.webreference.com
and also
http://www.componentsource.com
http://www.serverobjects.com
etc...
no end of resources out there!
-----Original Message-----
From: Taher Moiyed [mailto:taherm@f...]
Sent: 22 June 2001 11:09
To: ASP Web HowTo
Subject: [asp_web_howto] RE: font type viewer--plz help
Importance: High
Thanks a million Alex
you're a star!!!
but plz i would like to make a request,
and that is if you could find a server component whic could help me it
would
be more than excellent.
taher
-----Original Message-----
From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]
Sent: 22 June 2001 10:45
To: ASP Web HowTo
Subject: [asp_web_howto] RE: font type viewer--plz help
for fonts already installed on the client its very easy - all you need
is a
drop-down of fonts and a drop-down of sizes, then when either is
changed the
new font or size is applyed to the text with
oText.style.fontFamily=3DddFonts.value;
or
oText.style.fontSize=3DddSizes.value;
the difficulty will arise when you are trying to apply fonts that are
not
already installed, as they would need to be downloaded first.
That site that you gave a link to actually provides an image of the
typeface. They must be using some kind of server component to generate
the
image on the fly. If you wanted to make life easy for yourself,
instead of
allowing the user to type some text in, just have a pre-defined piece
of
text, and create a whole load of images yourself.
|
|
 |