Font face?!

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
tinmake
Posts: 9
Joined: Sat 7. Feb 2004, 20:07

Font face?!

Post 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
User avatar
Fulvio Romanin
Posts: 394
Joined: Thu 4. Dec 2003, 11:12
Location: Udine, Italy
Contact:

Post by Fulvio Romanin »

non-standard fonts? supposedly not installed on the machine and cross-platform? please explain this, it's interesting...
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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/
vsivaprabu
Posts: 1
Joined: Thu 19. Jan 2012, 07:24

Re: Font face?!

Post 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 :roll:
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Font face?!

Post by flip-flop »

Hi,

please tell us your phpwcms Version and release and the place where you have inserted this snippet.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Font face?!

Post 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?
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Font face?!

Post by update »

Das ist nur eine Unordnung aus 2004, weiter nichts :wink:
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.
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Font face?!

Post by Oliver Georgi »

jo auch gesehen, dann…
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply