Skip to main content



      Home
Home » Archived » BIRT » font-face in Birt
font-face in Birt [message #871282] Fri, 11 May 2012 14:33 Go to next message
Eclipse UserFriend
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 15:40 Go to previous messageGo to next message
Eclipse UserFriend
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 16:30 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 23:55:27 EDT 2025

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

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

Back to the top