Page 1 of 1
Font face?!
Posted: Mon 9. Feb 2004, 19:19
by tinmake
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
Posted: Mon 9. Feb 2004, 20:52
by Fulvio Romanin
non-standard fonts? supposedly not installed on the machine and cross-platform? please explain this, it's interesting...
Posted: Tue 10. Feb 2004, 05:45
by DeXXus
This "works" in IE 6.0.2800.1106:
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>
INTERESTING TOOLS (found while researching):
Tamil Blogonline Tools -->
http://aayutham.blogdrive.com/
Re: Font face?!
Posted: Thu 19. Jan 2012, 07:50
by vsivaprabu
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

Re: Font face?!
Posted: Thu 19. Jan 2012, 10:28
by flip-flop
Hi,
please tell us your phpwcms Version and release and the place where you have inserted this snippet.
Knut
Re: Font face?!
Posted: Sat 21. Jan 2012, 00:23
by Oliver Georgi
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:
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?!
Posted: Sat 21. Jan 2012, 09:04
by update
Das ist nur eine Unordnung aus 2004, weiter nichts

Re: Font face?!
Posted: Sat 21. Jan 2012, 12:07
by Oliver Georgi
jo auch gesehen, dann…