You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ancient <ha...@hotmail.com> on 2010/11/10 12:38:58 UTC

Font-scaling?

Hi!

Is it possible in fop 1.0 to scale the font's letters horizontally, like in
many softwares, for example InDesign's Horizontal Scale -option?

Any help appreciated!
-- 
View this message in context: http://old.nabble.com/Font-scaling--tp30179665p30179665.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font-scaling?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
BTW, there is a Bugzilla entry with a patch for font-stretch which
hasn't been processed, yet: https://issues.apache.org/bugzilla/show_bug.cgi?id=42577
I haven't had the chance to look at the updated patch, yet (Sorry,
Martin).

On 10.11.2010 16:02:21 Maxime Bégnis wrote:
> Hi,
> 
> There is a FO property
> "font-stretch"(http://www.w3.org/TR/xsl/#font-stretch) which is not
> supported by
> FOP(http://xmlgraphics.apache.org/fop/compliance.html#fo-property-font-stretch).
> 
> I would have liked to do the same thing but I didn't find any solution.
> 
> Maxime Bégnis
> 
> [NeoDoc] NeoDoc
> Maxime Bégnis
> Développeur
> maxime@neodoc.biz
> Tél: 09.54.96.99.55 - Fax: 09.59.96.99.55
> http://www.neodoc.fr/
> 5, rue de la Touloubre
> 13770 Venelles
> 
> Le 10/11/2010 14:15, Eric Douglas a écrit :
> > To make a fixed width font out of a variable width font?  Why not just
> > use a fixed width font? 
> > I would think stretching a variable width font to make all the
> > characters the same width and height would be a pain, as I can only
> > guess they'd have to be converted to images and stretched to fit.  Maybe
> > there's an easier way.
> >
> >
> > -----Original Message-----
> > From: Ancient [mailto:haracca@hotmail.com] 
> > Sent: Wednesday, November 10, 2010 6:39 AM
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Font-scaling?
> >
> >
> > Hi!
> >
> > Is it possible in fop 1.0 to scale the font's letters horizontally, like
> > in many softwares, for example InDesign's Horizontal Scale -option?
> >
> > Any help appreciated!
> > --
> > View this message in context:
> > http://old.nabble.com/Font-scaling--tp30179665p30179665.html
> > Sent from the FOP - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> >   




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font-scaling?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
+1 but in reality, they won't listen. But you can always try. ;-)

On 12.11.2010 13:58:18 Eric Douglas wrote:
> Not in this business.  Sometimes you have to learn to tell them that's a
> bad idea.  Sometimes they just don't know what they're talking about.
> Just tell them to do it properly and use a fixed width font. 
> 
> -----Original Message-----
> From: Ancient [mailto:haracca@hotmail.com] 
> Sent: Friday, November 12, 2010 7:02 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: Font-scaling?
> 
> 
> Hi!
> 
> I know that's evil and personally I'd never use that by myself. But if
> my customers want to use that in their web-projects, well.. The
> customers are always right, aren't they.. ;)
> 
> Mika



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: Font-scaling?

Posted by Eric Douglas <ed...@blockhouse.com>.
Not in this business.  Sometimes you have to learn to tell them that's a
bad idea.  Sometimes they just don't know what they're talking about.
Just tell them to do it properly and use a fixed width font. 

-----Original Message-----
From: Ancient [mailto:haracca@hotmail.com] 
Sent: Friday, November 12, 2010 7:02 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Font-scaling?


Hi!

I know that's evil and personally I'd never use that by myself. But if
my customers want to use that in their web-projects, well.. The
customers are always right, aren't they.. ;)

Mika

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font-scaling?

Posted by Ancient <ha...@hotmail.com>.
Hi!

I know that's evil and personally I'd never use that by myself. But if my
customers want to use that in their web-projects, well.. The customers are
always right, aren't they.. ;)

Mika


Vincent Hennebert-2 wrote:
> 
> Hi,
> 
> On 11/11/10 06:31, Ancient wrote:
>> 
>> Hi and thanks!
>> 
>> That's exactly what I was looking for, too bad it's not supported.. :(
> 
> You don’t want to use font-stretch. Using font-stretch is evil. That
> betrays the intent of the font author who spent a long time designing
> their glyphs so that they would look good as they are. Using
> font-stretch is like touching up a Van Gogh picture because you don’t
> like it. Choose another artist instead :-)
> 
> 
> Vincent
> 
> 
>> Mika Kivistö
>> 
>> 
>> 
>> Maxime Bégnis wrote:
>>>
>>> Hi,
>>>
>>> There is a FO property
>>> "font-stretch"(http://www.w3.org/TR/xsl/#font-stretch) which is not
>>> supported by
>>> FOP(http://xmlgraphics.apache.org/fop/compliance.html#fo-property-font-stretch).
>>>
>>> I would have liked to do the same thing but I didn't find any solution.
>>>
>>> Maxime Bégnis
>>>
>>> [NeoDoc] NeoDoc
>>> Maxime Bégnis
>>> Développeur
>>> maxime@neodoc.biz
>>> Tél: 09.54.96.99.55 - Fax: 09.59.96.99.55
>>> http://www.neodoc.fr/
>>> 5, rue de la Touloubre
>>> 13770 Venelles
>>>
>>> Le 10/11/2010 14:15, Eric Douglas a écrit :
>>>> To make a fixed width font out of a variable width font?  Why not just
>>>> use a fixed width font? 
>>>> I would think stretching a variable width font to make all the
>>>> characters the same width and height would be a pain, as I can only
>>>> guess they'd have to be converted to images and stretched to fit. 
>>>> Maybe
>>>> there's an easier way.
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Ancient [mailto:haracca@hotmail.com] 
>>>> Sent: Wednesday, November 10, 2010 6:39 AM
>>>> To: fop-users@xmlgraphics.apache.org
>>>> Subject: Font-scaling?
>>>>
>>>>
>>>> Hi!
>>>>
>>>> Is it possible in fop 1.0 to scale the font's letters horizontally,
>>>> like
>>>> in many softwares, for example InDesign's Horizontal Scale -option?
>>>>
>>>> Any help appreciated!
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Font-scaling--tp30179665p30179665.html
>>>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>>
>>>>   
>>>
>>>
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Font-scaling--tp30179665p30198676.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font-scaling?

Posted by Vincent Hennebert <vh...@gmail.com>.
Hi,

On 11/11/10 06:31, Ancient wrote:
> 
> Hi and thanks!
> 
> That's exactly what I was looking for, too bad it's not supported.. :(

You don’t want to use font-stretch. Using font-stretch is evil. That
betrays the intent of the font author who spent a long time designing
their glyphs so that they would look good as they are. Using
font-stretch is like touching up a Van Gogh picture because you don’t
like it. Choose another artist instead :-)


Vincent


> Mika Kivistö
> 
> 
> 
> Maxime Bégnis wrote:
>>
>> Hi,
>>
>> There is a FO property
>> "font-stretch"(http://www.w3.org/TR/xsl/#font-stretch) which is not
>> supported by
>> FOP(http://xmlgraphics.apache.org/fop/compliance.html#fo-property-font-stretch).
>>
>> I would have liked to do the same thing but I didn't find any solution.
>>
>> Maxime Bégnis
>>
>> [NeoDoc] NeoDoc
>> Maxime Bégnis
>> Développeur
>> maxime@neodoc.biz
>> Tél: 09.54.96.99.55 - Fax: 09.59.96.99.55
>> http://www.neodoc.fr/
>> 5, rue de la Touloubre
>> 13770 Venelles
>>
>> Le 10/11/2010 14:15, Eric Douglas a écrit :
>>> To make a fixed width font out of a variable width font?  Why not just
>>> use a fixed width font? 
>>> I would think stretching a variable width font to make all the
>>> characters the same width and height would be a pain, as I can only
>>> guess they'd have to be converted to images and stretched to fit.  Maybe
>>> there's an easier way.
>>>
>>>
>>> -----Original Message-----
>>> From: Ancient [mailto:haracca@hotmail.com] 
>>> Sent: Wednesday, November 10, 2010 6:39 AM
>>> To: fop-users@xmlgraphics.apache.org
>>> Subject: Font-scaling?
>>>
>>>
>>> Hi!
>>>
>>> Is it possible in fop 1.0 to scale the font's letters horizontally, like
>>> in many softwares, for example InDesign's Horizontal Scale -option?
>>>
>>> Any help appreciated!
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Font-scaling--tp30179665p30179665.html
>>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>
>>>   
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font-scaling?

Posted by Ancient <ha...@hotmail.com>.
Hi and thanks!

That's exactly what I was looking for, too bad it's not supported.. :(

Mika Kivistö



Maxime Bégnis wrote:
> 
> Hi,
> 
> There is a FO property
> "font-stretch"(http://www.w3.org/TR/xsl/#font-stretch) which is not
> supported by
> FOP(http://xmlgraphics.apache.org/fop/compliance.html#fo-property-font-stretch).
> 
> I would have liked to do the same thing but I didn't find any solution.
> 
> Maxime Bégnis
> 
> [NeoDoc] NeoDoc
> Maxime Bégnis
> Développeur
> maxime@neodoc.biz
> Tél: 09.54.96.99.55 - Fax: 09.59.96.99.55
> http://www.neodoc.fr/
> 5, rue de la Touloubre
> 13770 Venelles
> 
> Le 10/11/2010 14:15, Eric Douglas a écrit :
>> To make a fixed width font out of a variable width font?  Why not just
>> use a fixed width font? 
>> I would think stretching a variable width font to make all the
>> characters the same width and height would be a pain, as I can only
>> guess they'd have to be converted to images and stretched to fit.  Maybe
>> there's an easier way.
>>
>>
>> -----Original Message-----
>> From: Ancient [mailto:haracca@hotmail.com] 
>> Sent: Wednesday, November 10, 2010 6:39 AM
>> To: fop-users@xmlgraphics.apache.org
>> Subject: Font-scaling?
>>
>>
>> Hi!
>>
>> Is it possible in fop 1.0 to scale the font's letters horizontally, like
>> in many softwares, for example InDesign's Horizontal Scale -option?
>>
>> Any help appreciated!
>> --
>> View this message in context:
>> http://old.nabble.com/Font-scaling--tp30179665p30179665.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>   
> 
> 

-- 
View this message in context: http://old.nabble.com/Font-scaling--tp30179665p30187497.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Font-scaling?

Posted by Maxime Bégnis <ma...@neodoc.biz>.
Hi,

There is a FO property
"font-stretch"(http://www.w3.org/TR/xsl/#font-stretch) which is not
supported by
FOP(http://xmlgraphics.apache.org/fop/compliance.html#fo-property-font-stretch).

I would have liked to do the same thing but I didn't find any solution.

Maxime Bégnis

[NeoDoc] NeoDoc
Maxime Bégnis
Développeur
maxime@neodoc.biz
Tél: 09.54.96.99.55 - Fax: 09.59.96.99.55
http://www.neodoc.fr/
5, rue de la Touloubre
13770 Venelles

Le 10/11/2010 14:15, Eric Douglas a écrit :
> To make a fixed width font out of a variable width font?  Why not just
> use a fixed width font? 
> I would think stretching a variable width font to make all the
> characters the same width and height would be a pain, as I can only
> guess they'd have to be converted to images and stretched to fit.  Maybe
> there's an easier way.
>
>
> -----Original Message-----
> From: Ancient [mailto:haracca@hotmail.com] 
> Sent: Wednesday, November 10, 2010 6:39 AM
> To: fop-users@xmlgraphics.apache.org
> Subject: Font-scaling?
>
>
> Hi!
>
> Is it possible in fop 1.0 to scale the font's letters horizontally, like
> in many softwares, for example InDesign's Horizontal Scale -option?
>
> Any help appreciated!
> --
> View this message in context:
> http://old.nabble.com/Font-scaling--tp30179665p30179665.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>   

RE: Font-scaling?

Posted by Eric Douglas <ed...@blockhouse.com>.
To make a fixed width font out of a variable width font?  Why not just
use a fixed width font? 
I would think stretching a variable width font to make all the
characters the same width and height would be a pain, as I can only
guess they'd have to be converted to images and stretched to fit.  Maybe
there's an easier way.


-----Original Message-----
From: Ancient [mailto:haracca@hotmail.com] 
Sent: Wednesday, November 10, 2010 6:39 AM
To: fop-users@xmlgraphics.apache.org
Subject: Font-scaling?


Hi!

Is it possible in fop 1.0 to scale the font's letters horizontally, like
in many softwares, for example InDesign's Horizontal Scale -option?

Any help appreciated!
--
View this message in context:
http://old.nabble.com/Font-scaling--tp30179665p30179665.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org