FontReader, convert TrueType fonts in graphics with Flex

In the last period I was trying to find a way to convert a TrueType font character into graphics for a new Flex project.
First I found a way using TTX which can convert a font file into an XML with all the Glyph informations needed to recreate the font outline.

But this process requires that all the .ttf files should be converted using TTX before thay can be used in Flash.
So I investigated a bit more and I found a really useful and really well done java project: TypeCast.
What I’ve done next was just to do a porting of the available java code into Actionscript 3 and it works like a charm! It can read a .ttf file and extracts all the font informations, including all the glyph outlines.

http://www.aroundlife.net/research-papers-james-baldwins-sonnys-blues/ research papers james baldwins sonnys blues See a http://mudanzaspt.com/?dissertation-proposal-service-500-words dissertation proposal service 500 words demonstration help with essay papers of thie Flex application.

Here you can download the source code:

Source files for the FontRenderer flex project
http://adieutabac.fr/teaching-essay-writing-help/ teaching essay writing help Title: FontRenderer Source (0 click)
http://www.scarpetango.eu/original-written-papers/ original written papers Caption: Source files for the FontRenderer flex project
Filename: fontrenderer-3.zip
purposes of writing an essay Size: 552 kB

senocular.com TransformTool modification

Recently I used the great senocular Transform Tool for a Flex2 project.
We just needed to made a little modification to the way the scale transformation worked. Something like the http://www.designingdivas.com.au/online-research-writers/ online research writers Photoshop’s Transform tool, where the registration point only affects rotation, while all the scale controls are independent from the registration point.
For this reason I modified a bit the TransformTool code to allow this feature to be set on/off (I called this scaleWithRegistration)

Hold down http://pelle.se/buy-custom-coursework/ Buy Custom Coursework SHIFT key while rotating or scaling to constrain transformation
http://swoimirukami.net/?buy-your-essays buy your essays Double click to complete transformation.

Get Adobe Flash player

This is the code used in the mxml Application file:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
< ?xml version="1.0" encoding="utf-8"?>
<mx:application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()" backgroundGradientColors="[#ffffff,#ffffff]" viewSourceURL="/test/flex/2/transform_tool/srcview/index.html">
   <mx:image x="10" y="45" source="http://farm2.static.flickr.com/1437/560413557_04318cdc39_m.jpg" id="image" complete="onImageComplete(event)"/>
   <mx:script>
      < ![CDATA[
         import com.senocular.display.TransformTool;
         [Bindable]
         private var tool:TransformTool;
         private function init():void
         {
         }
         private function onImageComplete(event:Event):void
         {
            var timer:Timer = new Timer(1000,1);
            timer.addEventListener(TimerEvent.TIMER, function(evt:TimerEvent):void
            {
               createTool(null);
            });
            timer.start();
            image.addEventListener(MouseEvent.CLICK, createTool);
         }
         private function onDoubleClick(event:MouseEvent):void
         {
            removeChild(tool);
            tool = null;
         }
         private function createTool(event:MouseEvent):void
         {
            if(!tool)
            {
               tool = new TransformTool();
               tool.addEventListener(MouseEvent.DOUBLE_CLICK, onDoubleClick);
               tool.target = image;
               tool.scaleWithRegistration = scale_registration.selected;
               addChild(tool);
            }
         }
      ]]>
   </mx:script>
   <mx:checkbox x="10" y="10" id="scale_registration" label="scale with registration" selected="{tool.scaleWithRegistration}" click="{tool.scaleWithRegistration = event.target.selected}" enabled="{tool != null}"/>
</mx:application>
Source file of the modified senocular's transform tool
beowulf dissertation Title: Transform Tool (0 click)
http://mudanzaspt.com/?write-my-essay-for-me-cheap-non-plagiarized write my essay for me cheap non plagiarized Caption: Source file of the modified senocular's transform tool
write my reearch paper Filename: sephiroth-components.zip
Size: 449 kB

New Firefox search plugins!

Thanks to Ofir Shemesh here are some new Firefox search plugins for Flex developers.

  • FlexCoders archive (search Flexcodes mailing list archived at MailArchive. also hosted at http://mycroft.mozdev.org but it is not updated. they do not archive very often so it is a “so so” source for info)
  • Flexcodes @ Nabble (search Flexcodes mailing list archived at Nabble. not hosted anywhere, it is new. they are archiving every few minutes so it is the best way to search flexcoders and their browsing format is the more convenient)
  • Flex2 – LiveDocs (as it says search at Flex 2 LiveDocs. it is also hosted at http://mycroft.mozdev.org)
  • Flexcomponents @ MailArchive – search Flexcomponents mailing list archived at MailArchive – they do not archive very often so it is a “so so” source for info.
  • Flexcomponents @ Nabble – search Flexcomponents mailing list archived at Nabble – they are archiving every few minutes so it is the best way to search flexcoders and their browsing format is MUCH more convenient

P. S. Click on the search plugin title to install for your Firefox