|
From: strk <st...@ke...> - 2010-05-27 14:40:27
|
[moved to ming-dev] This discussion should be moved on ming-dev to gather others' opinions too. On Thu, May 27, 2010 at 03:28:43PM +0100, Nick Lewis wrote: > Sorry that part is just a proposal for a private ming flag to control > whether kerning information is included in the swf A Ming-private flag might use reserved bits. Maybe a cleaner implementation would just be composed by an _additional_ method of SWFFontCharacter --strk; > -----Original Message----- > From: strk [mailto:st...@ke...] > Sent: 27 May 2010 08:10 > To: Nick Lewis > Subject: Re: [Ming-dev] kerning with Ming > > On Tue, May 25, 2010 at 06:03:19PM +0100, Nick Lewis wrote: > > Perhaps something like attached patch > > Wow, sounds good! > I didnt' know of the SWF_FONT_KERNINFO flag, nice one! > Does that flag make it so that the existing testsuite > succeed always ? > > --strk; > > > > -----Original Message----- > > From: Nick Lewis > > Sent: 25 May 2010 15:12 > > To: 'strk' > > Subject: RE: [Ming-dev] kerning with Ming > > > > Ok > > > > If all the textfields were noedit then only the specific glyphs would > be > > included in the swf. Can the kerning table in the swf also be tailored > > to include only relevant charcodes? Perhaps before writing out a > > font->kernTable entry it would be worth checking > > if (SWFFontCharacter_findGlyphCode(inst,font->kernTable.x[i].code1) && > > SWFFontCharacter_findGlyphCode(inst,font->kernTable.x[i].code2)) > > > > Nick > > > > -----Original Message----- > > From: strk [mailto:st...@ke...] > > Sent: 25 May 2010 13:48 > > To: Nick Lewis > > Subject: Re: [Ming-dev] kerning with Ming > > > > On Tue, May 25, 2010 at 11:14:00AM +0100, Nick Lewis wrote: > > > I agree that a font flag for kerning would be useful. This would be > > set > > > if any of the textfields that referenced the font had corresponding > > > textfield kerning flags set. The ming user could set the textfield > > > kerning flag using SWFTextField_setFlags() > > > > > > > Note that textfield kernings flag can probably be set via > > ActionScript too, so I wouldn't take the hard-coded one > > on TextField as driving the font one. > > Would rather have an SWFFontCharacter-specific function,. > > > > --strk; > > > > () Free GIS & Flash consultant/developer > > /\ http://strk.keybit.net/services.html > > > > ______________________________________________________________________ > > This e-mail has been scanned for all viruses by Star. The > > service is powered by MessageLabs. For more information on a proactive > > anti-virus service working around the clock, around the globe, visit: > > http://www.star.net.uk > > ______________________________________________________________________ > > > > _____________________________________________________________________ > > This message has been checked for all known viruses by Star Internet > delivered through the MessageLabs Virus Control Centre. > > _____________________________________________________________________ > > Disclaimer of Liability > > ATL Telecom Ltd shall not be held liable for any improper or incorrect > use of the information described and/or contained herein and assumes no > responsibility for anyones use of the information. In no event shall > ATL Telecom Ltd be liable for any direct, indirect, incidental, > special, exemplary, or consequential damages (including, but not limited > to, procurement or substitute goods or services; loss of use, data, or > profits; or business interruption) however caused and on any theory of > liability, whether in contract, strict liability, or tort (including > negligence or otherwise) arising in any way out of the use of this > system, even if advised of the possibility of such damage. > > > > Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons > Cardiff, CF3 0FB > > Registered in Wales Number 4335781 > > > > All goods and services supplied by ATL Telecom Ltd are supplied > subject to ATL Telecom Ltd standard terms and conditions, available upon > request. > > > -- > > () Free GIS & Flash consultant/developer > /\ http://strk.keybit.net/services.html > > ______________________________________________________________________ > This e-mail has been scanned for all viruses by Star. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________________ > > _____________________________________________________________________ > This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. > _____________________________________________________________________ > Disclaimer of Liability > ATL Telecom Ltd shall not be held liable for any improper or incorrect use of the information described and/or contained herein and assumes no responsibility for anyones use of the information. In no event shall ATL Telecom Ltd be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement or substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this system, even if advised of the possibility of such damage. > > Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB > Registered in Wales Number 4335781 > > All goods and services supplied by ATL Telecom Ltd are supplied subject to ATL Telecom Ltd standard terms and conditions, available upon request. -- () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html |