Font face?!
Font face?!
Hi,
ich habe nun das WCMS, aber hab nun ein problem.
und zwar ich möchte gern eín FOnt benuzten was nicht zum Standart gehört. Da für habe ich mir ein Script geholt.
<style type="text/css">
@font-face { font-family:Bamini; src:url(BAMINI1.eot); font-size:10pt,12pt,14pt; }
@font-face { font-family:Bamini; src:url(bamini.pfr); font-size:10pt,12pt,14pt; }
.Stil1 {font-family: Bamini;font-size: 16px;
}
</style>
Und für den TEXT:
<p style="font-family:bamini;">Text TextTextTextTextText</p>
Das klapt auch sehr gut, aber nicht im CMS.
Wie mache ich das?
Danke
ich habe nun das WCMS, aber hab nun ein problem.
und zwar ich möchte gern eín FOnt benuzten was nicht zum Standart gehört. Da für habe ich mir ein Script geholt.
<style type="text/css">
@font-face { font-family:Bamini; src:url(BAMINI1.eot); font-size:10pt,12pt,14pt; }
@font-face { font-family:Bamini; src:url(bamini.pfr); font-size:10pt,12pt,14pt; }
.Stil1 {font-family: Bamini;font-size: 16px;
}
</style>
Und für den TEXT:
<p style="font-family:bamini;">Text TextTextTextTextText</p>
Das klapt auch sehr gut, aber nicht im CMS.
Wie mache ich das?
Danke
- Fulvio Romanin
- Posts: 394
- Joined: Thu 4. Dec 2003, 11:12
- Location: Udine, Italy
- Contact:
This "works" in IE 6.0.2800.1106:
INTERESTING TOOLS (found while researching):
Tamil Blogonline Tools --> http://aayutham.blogdrive.com/
Code: Select all
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel=fontdef src="http://www.selvakumaran.de/bamini.pfr">
</head>
<STYLE type=text/css>
@font-face {
font-family: Bamini;
src:url(BAMINI1.eot);
.Stil1 {font-family: Bamini;font-size: 16px;
}
</STYLE>
<BODY>
<p style="font-family:bamini;">Text TextTextTextTextText</p >
</body>
</html>
Tamil Blogonline Tools --> http://aayutham.blogdrive.com/
-
- Posts: 1
- Joined: Thu 19. Jan 2012, 07:24
Re: Font face?!
Hi all,
I have used following code to print "Bamini Tamil" font, I have struggle last one day please help me.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel=fontdef src="<?=site_url();?>includes/css/Bamini.TTF">
</head>
<STYLE type=text/css>
@font-face {
font-family: Bamini;
src:url(<?=site_url();?>includes/css/Bamini.TTF);
.Stil1 {font-family: Bamini;font-size: 16px;
}
@media print{
p{font-family: Bamini;}
}
</STYLE>
<BODY>
<p style="font-family:bamini;">Text TextTextTextTextText</p >
</body>
</html>
Regards,
Siva
I have used following code to print "Bamini Tamil" font, I have struggle last one day please help me.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK rel=fontdef src="<?=site_url();?>includes/css/Bamini.TTF">
</head>
<STYLE type=text/css>
@font-face {
font-family: Bamini;
src:url(<?=site_url();?>includes/css/Bamini.TTF);
.Stil1 {font-family: Bamini;font-size: 16px;
}
@media print{
p{font-family: Bamini;}
}
</STYLE>
<BODY>
<p style="font-family:bamini;">Text TextTextTextTextText</p >
</body>
</html>
Regards,
Siva
Re: Font face?!
Hi,
please tell us your phpwcms Version and release and the place where you have inserted this snippet.
Knut
please tell us your phpwcms Version and release and the place where you have inserted this snippet.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
- Oliver Georgi
- Site Admin
- Posts: 9892
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Font face?!
Ach Leute, was soll dieser Murks? EOT ist nur für IE und sollte eigentlich nicht mehr benutzt werden:
http://www.fontsquirrel.com/fontface/generator
Alternativ für alle die Google Webfonts – da sollte für jeden was dabei sein:
http://www.google.com/webfonts#ChoosePlace:select
Dort findet Ihr auch alles zum korrekten Einbinden.
Und bitte nicht per <style> das ist wahrlich Old School. Hier ist die komplette Basis:
Was ist das hier eigentlich für eine Unordnung? Was hat das mit Installation zu tun?
http://www.fontsquirrel.com/fontface/generator
Alternativ für alle die Google Webfonts – da sollte für jeden was dabei sein:
http://www.google.com/webfonts#ChoosePlace:select
Dort findet Ihr auch alles zum korrekten Einbinden.
Und bitte nicht per <style> das ist wahrlich Old School. Hier ist die komplette Basis:
Code: Select all
@font-face {
font-family: myfont;
src: url('myfont.eot');
src: url('myfont.eot?#iefix') format('embedded-opentype'),
url('myfont.woff') format('woff'),
url('myfont.ttf') format('truetype'),
url('myfont.svg#Drom') format('svg');
font-weight: normal;
font-style: normal;
}
Was ist das hier eigentlich für eine Unordnung? Was hat das mit Installation zu tun?
Re: Font face?!
Das ist nur eine Unordnung aus 2004, weiter nichts
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
- Oliver Georgi
- Site Admin
- Posts: 9892
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Re: Font face?!
jo auch gesehen, dann…