fontSize and percentages

Hello,

 

I have a question regarding percentages on fontSize and having 1 or 2
values on the tts:fontSize attribute.

 

Given this example (some unneeded attributes are omitted for
readability):

 

<tt tts:extent="640px 480px" ttp:cellResolution="32 15">

<head>

<layout>

                <region xml:id="r1" tts:fontFamily="monospace"
tts:fontSize="75%">

</layout>

</head>

<body>

                <div region="r1">

                                <p>This is text</p>

                </div>

</body>

</tt>

 

It means the height of the fontsize is 480/15 * 75% = 24

 

Does it also mean the width of the fontsize is 640/32 * 75% = 15  ?

 

Or does it mean we need to use the scaling value of the height and apply
that equally to the width to have proportional scaling ? The spec
doesn't clearly say that having a single scaling factor means you need
to have proportional scaling, that's why I'm hesitating right now for
this detail.

 

Yves De Muyter

Techsoft Centre

Technology and Software Centre Europe (TSCE)

 

Sony Belgium, bijkantoor van Sony Europe Ltd.

The Corporate Village - Da Vincilaan 7-D1 - B-1935 Zaventem - Belgium

 

E-mail:                    Yves.DeMuyter@eu.sony.com
<mailto:Vincent.Gaillez@eu.sony.com> 

Internet:                www.sony-europe.com
<http://www.sony-europe.com/> 

 

Sony Europe Limited. A company registered in England and Wales.

Registered Address: The Heights, Brooklands, Weybridge, Surrey, KT13
0XW, United Kingdom.

Bank Account Details:

Account Name: Sony Europe Limited * Account number: 624335508 * IBAN:
BE63570624335508

BIC: CITIBEBX * RPR Brussel / RPM Bruxelles: 0452161045 * VAT:
BE0452161045

 

 

 

 



************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s).  Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender.  The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies.  Sony email is for business use only.

This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards

Received on Monday, 19 August 2013 10:53:44 UTC