Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » font-face in Birt
font-face in Birt [message #871282] Fri, 11 May 2012 18:33 Go to next message
Jesh Stha is currently offline Jesh Stha
Messages: 13
Registered: February 2012
Location: Toronto
Junior Member
Hi

Is there a way to import CSS file contain font-face in Birt.
I have a css like this :

@font-face {
font-family: "Garamond";
src: url("fonts/garamond.eot");
src: local("Garamond"),
url("fonts/garamond.eot.woff") format("woff"),
url("fonts/garamond.eot.otf") format("opentype"),
url("fonts/garamond.eot.svg#filename") format("svg");
}

and to use say :

.report-font {
font-family : Garamond;
}

I've tried to do so, but i couldn't import anything in that css file. error message like some unsupported charater.

I am using BIRT Version 2.5.1

Thank you in Advance
Re: font-face in Birt [message #871754 is a reply to message #871282] Mon, 14 May 2012 19:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

BIRT does not support all css properties. One thing you could try is to
put your css code in a text box with its type set to html and then
reference the new style using other text elements.

Jason

On 5/11/2012 2:33 PM, Jesh Stha wrote:
> Hi
> Is there a way to import CSS file contain font-face in Birt.
> I have a css like this :
> @font-face {
> font-family: "Garamond";
> src: url("fonts/garamond.eot");
> src: local("Garamond"),
> url("fonts/garamond.eot.woff") format("woff"),
> url("fonts/garamond.eot.otf") format("opentype"),
> url("fonts/garamond.eot.svg#filename") format("svg");
> }
>
> and to use say :
> report-font {
> font-family : Garamond;
> }
>
> I've tried to do so, but i couldn't import anything in that css file.
> error message like some unsupported charater.
>
> I am using BIRT Version 2.5.1
>
> Thank you in Advance
Re: font-face in Birt [message #871768 is a reply to message #871754] Mon, 14 May 2012 20:30 Go to previous message
Jesh Stha is currently offline Jesh Stha
Messages: 13
Registered: February 2012
Location: Toronto
Junior Member
Hi Jason,

Thank You so much. I will try the way you said.

thank you
Previous Topic:Drill down option
Next Topic:scripted data set; bug in the BIRT plugins?
Goto Forum:
  


Current Time: Mon Sep 22 12:29:27 GMT 2014

Powered by FUDForum. Page generated in 0.10188 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software