CC Flash embedded fonts line height average bad

Have a problem with the text Dynamics fields using fonts embedded in Flash CC. all is well in the IDE, but once it's test-> released the line height is far. If I switch to a font like Arial system there is no problem when published. Examples:

Fonts embedded in IDE

embedded-stage.png

Police emedded test-> publish

embedded-publish.png

Test of system fonts-> publish

arial-publish.png

Yes, the cc pro flash forum.

Addendum: Here is a link: http://forums.adobe.com/message/5425262#5425262#5425262

Tags: Adobe Animate

Similar Questions

  • Line breaks ignored when using text HTML CSS and embedded fonts

    Someone at - it find it.
    When you use a style sheet with html text in a dynamic textfield with embedded fonts line breaks are ignored. It's as if TextField.condenseWhite is set to true. Essentially the < p > tags are treated as a < br / > tag.

    If I do not incorporate fonts, it works fine. Another weird thing is that if I add an empty paragraph < p > < / p > between the first two paragraphs it makes any following paragraph behave correctly. for example

    < p > first text paragraph here < /p >
    < p > second text paragraph here < /p >
    < p > third text of paragraph here < /p >

    poster as if there are < br / > between each of them.

    But

    < p > first text paragraph here < /p >
    < p > < / p >
    < p > second text paragraph here < /p >
    < p > third text of paragraph here < /p >

    behaves correctly even for the third paragraph.

    Here is the code that I work with (by using XML as I am filling dynamic textfield to XML)

    any help much appreciated

    UPDATE:
    After reading http://www.kirupa.com/forum/showthread.php?t=307326
    I tried the same experiment using a TF designed in the IDE, the results for each, although the TextFields are essentially the same are totally different.

    Updated CODE accordingly - just need TF on stage, called "ideTextField" with the font "Arial".



    Ok
    I gave up to play with style sheets, try display: block, inline, different ways to format the XML data, in play with XML.ignoreWhiteSpace and XML.prettyPrinting etc.

    I went down the road of encodeURI, using a regular expression to remove all tabs, line breaks and the transport returns. This now gives consistent results for all situations, even incorporated and any fonts embedded.

    for example
    _TEXT:string = TEXT FROM XML, HTML TEXT etc.

    var st:String = encodeURI (_text);

    var model: RegExp = /(%09) + | (0 %) + | (0 % D) + / g ;

    St = st.replace (model, "");
    St = decodeURI (st);

    YOUTEXTFIELD.htmlText = m;

    The

    Tags always behave like a
    Tag, but you can add an extra
    to simulate a paragraph.

    Here is the example with the updates,

    Hope this helps someone

  • Non - embedding fonts using AIR in Flash Professional 3.0 (for iOS Development)

    Hey there,

    We develop Plains AS3 projects (to compile) using Flash Professional and Flash Builder.

    Everything works well with the new 3.0 version of the AIR and performance is better than with AIR 2.6

    I followed this tutorial and similar use AIR instead of AIR 2.6 3.0:

    http://kb2.Adobe.com/CPS/908/cpsid_90810.html

    Unfortunately, today, we have seen a new show with embedding fonts. Using Flash Professional, himself or the Embed tag in the code itself works. We also see that the SWF size does not change when you add more than one font.

    Anyone has an idea where this problem may be caused? I think that how the fonts are embedded changed air 3.0 and it does not work with the 'replace AIR 2.6 with AIR X.Y thing'.

    Any help welcome.

    Best,

    Cedric

    Try the instructions at http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-5b45bb17124b3295cc8-7ffd.html.

  • Flex 4 Embed fonts in flash swf VS embedding fonts in Adobe flex

    I have this dilemma... What is the best way to embed fonts?

    In flash, I can easily integrate fonts + strings of characters that I need the menu, export the swf file and then use it in flex.

    I don't see an easy way to define the character ranges in flex. How can I get the values that I need? I read that the format is U + (beginning of range)-(end of range) but where I take beginning and end of the beach of?

    Thanks in advance.

    Search for the file "flash-unicode - table.xml" in your Flex SDK installation folder (he sits next to 'flex-config' file)

    "Flash-unicode - table.xml" contains various language of the character ranges that you can find convenient.

    More on this can be read here http://frankieloscavio.blogspot.com/2008/01/flex-embedded-fonts-more-control-over.html

  • LabelButton blurred embedded fonts in the Simulator and the rendering of the fonts of the differences

    Hey people, party

    I have problems with the fonts embedded in LabelButton not made cleary by operating in the Simulator. They are crunchy when added stand alone. The button is on whole pixels and I double checked that the text in the button field is also on a set of pixels.

    Autonomous mode:

    Simulator:

    My code:

    public class GenericLabelButton extends LabelButton
        {
            protected var labelStr:String;
    
            public function GenericLabelButton(labelStr:String)
            {
                this.labelStr=labelStr;
    
                super();
            }
    
            override protected function init():void
            {
                var format:TextFormat=new TextFormat();
                format.font="font_helveticaNeue";
                format.size=16;
                format.color=0x000000;
                format.align=TextFormatAlign.CENTER;
    
                super.init();
    
                setTextFormatForState(format, SkinStates.DISABLED);
                setTextFormatForState(format, SkinStates.UP);
                setTextFormatForState(format, SkinStates.DOWN);
                setTextFormatForState(format, SkinStates.SELECTED);
                setTextFormatForState(format, SkinStates.DISABLED_SELECTED);
                label_txt.embedFonts=true;
                label=labelStr;
                label_txt.x=Math.round(label_txt.x);
                label_txt.y=Math.round(label_txt.y);
            }
        }
    

    Everyone knows this? Is font_helveticaNeue a bad font to use for the development of the PlayBook? Should I use the native font instead?

    I would also add that I use the police elsewhere in my application as a plain text field and it makes fine/crisp in the Simulator.

    I could use the native components wholesale, but I tell myself that I should at least try to use my own fonts.

    And while on the subject of the native LabelButton...

    Why text makes it differently in the Simulator this autonomous? The bg of the LabelButton doesn't resize correctly when I use the Simulator. Should I have the fonts installed on the host computer?

    Autonomous mode:

    In the Simulator:

    Would appreciate any input in this...

    Thank you

    SMJOHN

    Whoops - just realized I wrote this for you questions about LabelButton, and TextInput in which case you will need to use the textfield label_txt as you have already done (this is the default TextField fom flash.text).

    Embedded fonts will make in the TextInput QNX on the Simulator, as they do with TextInput fl.controls Flash; 100 times greater than the vector shapes.

    To make them look good, you need to change some properties of the TextInput textField.

    You can adjust the sharpness and thickness to your taste. The gridFitType property can also help alone. I have not tested it without the custom of the AA, however settings.

    _textInput.textField.antiAliasType = AntiAliasType.ADVANCED;
    _textInput.textField.sharpness = 1;
    _textInput.textField.thickness = 25;
    _textInput.textField.gridFitType = GridFitType.PIXEL;
    

    I have attached a before and after the screenshot of the Simulator. Unlike my screenshot, make sure the size of your type TextInput and/or its TextField correctly do not cut the Downhillers. Myriad Pro is displayed.

    TextField reference for anyone who comes across this thread and he needs: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html

  • Embedding fonts

    I have a program and use it dynamic text. This text, I use a special font CAMPFIRE.ttf.

    Many users do not have this font on their pc, but I want so they open my .swf and see this font.

    For this I use the following code:

    var fooFont:foo = new foo();
                   var format:TextFormat = new TextFormat();
                   format.font=fooFont.fontName;
                   format.color=0xFF0000;
                   format.size = 100;
                   levelNumbers.height += 100;
                   levelNumbers.embedFonts=true;
                   levelNumbers.autoSize = TextFieldAutoSize.CENTER;
                   levelNumbers.antiAliasType=AntiAliasType.ADVANCED;
                   levelNumbers.defaultTextFormat=format;
    

    but I don't see my correct dynamic text. I see strange space on top, do not see the lower part of the text.

    Preview of the photo:

    e.png

    Can someone help please or any other way how to make main idea to offer what I need?

    All the code here:

    package {
    
         import flash.events.*;
         import flash.display.*;
         import flash.text.TextField;
         
         import flash.text.TextFormat;
         import flash.text.TextFieldAutoSize;
         import flash.text.AntiAliasType;
    
         public class GuessNumber extends MovieClip 
         {
              var guessNumber:Number;
              var points:Number = 0;     
              var level:Number = 1;
              var lastGuessNumber:Number = 5;
              
              //constructor
              public function GuessNumber() 
              {
                   beginScreen();
              }
              
              public function beginScreen():void
              {
                   gotoAndStop('beginScreen');
                   playBtn.addEventListener(MouseEvent.CLICK, startGame);
                   
                   howToPlay_mc.visible = false;
                   moreGames_mc.visible = false;
                   thanks_mc.visible = false;
                   
                   howToPlayBtn.addEventListener(MouseEvent.CLICK, howToPlayScreen);
                   moreGamesBtn.addEventListener(MouseEvent.CLICK, moreGamesScreen);
                   thanksBtn.addEventListener(MouseEvent.CLICK, thanksScreen);
              }
              
              public function startGame(event:MouseEvent):void
              {
                   generateNumber();
              }
              
              public function generateNumber(e:Event = null):void 
              {
                   gotoAndStop('gameScreen');
                   trace("****** Welcome Screen *********");
                   pointsView.text = "0";
                   levelView.text = "1";
                   addEventListener(Event.ADDED_TO_STAGE, startGuess);
                   startGuess();
              }
              
              public function howToPlayScreen(event:MouseEvent):void
              {
                   trace("Open 'How to play screen'");
                   howToPlay_mc.closeBtn.addEventListener(MouseEvent.CLICK, closeHowToPlayScreen);
                   
                   howToPlayBtn.mouseEnabled = false;
                   moreGamesBtn.mouseEnabled = false;
                   thanksBtn.mouseEnabled = false;
                   
                   howToPlayBtn.alpha = 1;
                   moreGamesBtn.alpha = 0.5;
                   thanksBtn.alpha = 0.5;
                   
                   howToPlay_mc.visible = true;
                   moreGames_mc.visible = false;
                   thanks_mc.visible = false;
              }
              public function moreGamesScreen(event:MouseEvent):void
              {
                   trace("Open 'More games screen'");
                   moreGames_mc.closeBtn.addEventListener(MouseEvent.CLICK, closeMoreGamesScreen);
                   
                   howToPlayBtn.mouseEnabled = false;
                   moreGamesBtn.mouseEnabled = false;
                   thanksBtn.mouseEnabled = false;
                   
                   howToPlayBtn.alpha = 0.5;
                   moreGamesBtn.alpha = 1;
                   thanksBtn.alpha = 0.5;
                   
                   howToPlay_mc.visible = false;
                   moreGames_mc.visible = true;
                   thanks_mc.visible = false;
              }
              public function thanksScreen(event:MouseEvent):void
              {
                   trace("Open 'Thanks screen'");
                   thanks_mc.closeBtn.addEventListener(MouseEvent.CLICK, closeThanksScreen);
                   
                   howToPlayBtn.mouseEnabled = false;
                   moreGamesBtn.mouseEnabled = false;
                   thanksBtn.mouseEnabled = false;
                   
                   howToPlayBtn.alpha = 0.5;
                   moreGamesBtn.alpha = 0.5;
                   thanksBtn.alpha = 1;
                   
                   howToPlay_mc.visible = false;
                   moreGames_mc.visible = false;
                   thanks_mc.visible = true;
              }
              public function closeHowToPlayScreen(event:MouseEvent):void
              {
                   howToPlay_mc.visible = false;
                   trace("Close 'How to play screen'");
                   
                   howToPlayBtn.mouseEnabled = true;
                   moreGamesBtn.mouseEnabled = true;
                   thanksBtn.mouseEnabled = true;
                   
                   howToPlayBtn.alpha = 1;
                   moreGamesBtn.alpha = 1;
                   thanksBtn.alpha = 1;
              }
              public function closeMoreGamesScreen(event:MouseEvent):void
              {
                   moreGames_mc.visible = false;
                   trace("Close 'More games screen'");
                   
                   howToPlayBtn.mouseEnabled = true;
                   moreGamesBtn.mouseEnabled = true;
                   thanksBtn.mouseEnabled = true;
                   
                   howToPlayBtn.alpha = 1;
                   moreGamesBtn.alpha = 1;
                   thanksBtn.alpha = 1;
              }
              public function closeThanksScreen(event:MouseEvent):void
              {
                   thanks_mc.visible = false;
                   trace("Close 'How to play screen'");
                   
                   howToPlayBtn.mouseEnabled = true;
                   moreGamesBtn.mouseEnabled = true;
                   thanksBtn.mouseEnabled = true;
                   
                   howToPlayBtn.alpha = 1;
                   moreGamesBtn.alpha = 1;
                   thanksBtn.alpha = 1;
              }
              
              public function startGuess(e:Event = null):void 
              {
                   trace("**** Starting Guess ****");
                   guessBtn.enabled = true;
                   guessBtn.visible = true;
                   nextLevelBtn.enabled = false;
                   nextLevelBtn.visible = false;
                   
                   var fooFont:foo = new foo();
                   var format:TextFormat = new TextFormat();
                   format.font=fooFont.fontName;
                   format.color=0xFF0000;
                   format.size = 100;
                   levelNumbers.height += 100;
                   levelNumbers.embedFonts=true;
                   levelNumbers.autoSize = TextFieldAutoSize.CENTER;
                   levelNumbers.antiAliasType=AntiAliasType.ADVANCED;
                   levelNumbers.defaultTextFormat=format;
                   
                   levelNumbers.text = String(lastGuessNumber);
                   trace("Guessed number beetween 1 and " + lastGuessNumber);
                   yourGuessText.text = "";
                   levelView.text = String(level);
                   trace("Now Level: " + level);
                   pointsView.text = String(points);
                   trace("Player Points: " + points);
                   
                   guessNumber=Math.ceil(Math.random()*lastGuessNumber);
                   trace("Guessed number: " + guessNumber);
                   
                   removeEventListener(Event.ADDED_TO_STAGE,startGuess);
                   guessBtn.addEventListener(MouseEvent.CLICK,checkingYourGuess);
              }
              
              public function checkingYourGuess(e:MouseEvent):void 
              {
                   if (yourGuessText.length == 0) 
                   {
                        trace("need enter something");
                        outputText.text="please enter a number beetween 1 and " + lastGuessNumber;
                        return;
                   }               
                   
                   if (guessNumber == Number(yourGuessText.text)) 
                   {
                        outputText.text = "You are GUESS!!!";
                        trace("Guess!");
                        points += 100;
                        trace("Player earn: " + points + " points!");
                        trace("+++++++++++++++++++++++++");
                        trace("go to the next level?");
                        nextLevelBtn.visible = true;
                        guessBtn.visible = false;
                        winGame();
                   } 
                   else if (guessNumber > Number(yourGuessText.text)) 
                   {
                        points -= 20;
                        pointsView.text = String(points);
                        trace("-20 points, need MORE");
                        outputText.text = "need MORE, try again please";
                   } 
                   else if (guessNumber < Number(yourGuessText.text) && (Number(yourGuessText.text)<= lastGuessNumber)) 
                   {
                        points -= 20;
                        pointsView.text = String(points);
                        trace("-20 points, need LESS");
                        outputText.text = "need LESS, try again please";
                   }
                   else if (Number(yourGuessText.text) > lastGuessNumber)
                   {
                        outputText.text = "enter number from 1 to " + lastGuessNumber;
                        trace("enter number from 1 to " + lastGuessNumber);
                   }          
              }
              
              public function winGame():void 
              {
                   pointsView.text = String(points);
                   level += 1;
                   if (level == 4)
                   {
                        youAreWinner();
                        trace("You are winner!!!!!");
                        pointsView.text = String(points);
                        trace("Player earn: " + points + " points." );
                        level = 1;
                        points = 0;
                        lastGuessNumber = 5;
                   }
                   else{lastGuessNumber += 10;}
                   
                   nextLevelBtn.enabled=true;
                   guessBtn.enabled=false;
                   nextLevelBtn.addEventListener(MouseEvent.CLICK, playAgain);
              }
              
              public function playAgain(event:MouseEvent):void 
              {
                   trace("yes");
                   outputText.text = "";
                   startGuess();
              }
              
              public function youAreWinner():void
              {
                   gotoAndStop('finishScreen');
                   nextLevelBtn.visible = false;
                   guessBtn.visible = false;
                   playAgainBtn.addEventListener(MouseEvent.CLICK, generateNumber);
              }
              
         }
    
    }
    

    This isn't a problem with embedding fonts.

    Make sure that multiline is disabled.

  • Digital fixed but different line height value

    Hello world

    On my front, I have a table (column) 1 d of numerical values next to a table (column) 1 d of channels. I need them to the line upward. I think that the height of figures is not editable, but for strings, you can change it.

    Here's my problem, on different PCs, I found that the heights of digital line have different fixed values. On my development PC (LabVIEW 2011, 32-bit), the line height is 22 pixels. On all the other test PCs (also LabVIEW 2011, 32 bit) the line height is 20 pixels. I need the berries to align all PC, but it looks different.

    Does anyone have any suggestions on how I can fix this?

    The height of controls digital and indicators are based on the font used for this.  The strings have their height adjustable independendtly.

    On these different PC, are you using different operating systems?

    See this thread and a few others.

    What you need to do is set the font for the strings and numeric values to be a specific font which is present on all operating systems and do not use 'system' or 'application' font that is based on the current settings of the operating system

  • Convert to PDF from word, the fonts are not included, the word doc record embedded fonts, but conversion does not incorporate fonts?  What should I do to get the embedded fonts?

    Convert to PDF from word, the fonts are not included, the word doc record embedded fonts, but conversion does not incorporate fonts?  What should I do to get the embedded fonts?

    I used times new roman in word 2013.  New file.  Apparently the version of adobe that I use will not incorporate.  I use the version line.  I was told that I have to upgrade to Adobe Pro.  I'm dealing with a patent application, so I can't share the document.  The patent office cannot accept that documents with embedded fonts.  My drawings that have been scanned and then converted are a problem too because I get an error based on the size of the page (23.6 "x 32.4") and I am unable to reduce this size in files from Adobe.com.

    Unfortunately I signed up for this product that get these two converted documents and uploaded only to discover that the conversions will not download.

  • HTML "BOLD" text and regular on the Spark components with embeded fonts

    Hello!

    I took a quick glance to the textflow Flex 4 new (at least new to me).

    I use a spark textarea that is assigned to a style that uses a font embed, the problem is that when the textarea component renders the text marked in bold (using < span fontWeight = "bold" >) you lose the embeded font style.

    How to display bold text and text in the same text box using embeded fonts?

    Thanks in advance

    That's exactly what I was looking for:

    {@font-face}

    SRC:URL("..) ("/ assets/MyriadWebPro.ttf");

    fontFamily: myFont;

    embedAsCFF: true;

    }

    {@font-face}

    SRC:URL("..) /Assets/MyriadWebPro-bold.ttf");

    fontFamily: myFont;

    fontWeight: bold;

    embedAsCFF: true;

    }

    {@font-face}

    SRC:URL("..) /Assets/MyriadWebPro-italic.ttf");

    fontFamily: myFont;

    fontStyle: italic;

    embedAsCFF: true;

    }

    {.myPlainStyle}

    fontSize: 20;

    fontFamily: myFont;

    }

    {.myBoldStyle}

    fontSize: 20;

    fontFamily: myFont;

    fontWeight: bold;

    }

    {.myItalicStyle}

    fontSize: 20;

    fontFamily: myFont;

    fontStyle: italic;

    }

    so now I can put fonts on "myFont" style, and the Flash will be made to the police as a result.

    http://help.Adobe.com/en_US/Flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html

    Nice!

  • Embeded fonts

    Hello

    I create my own font for my app recently and I use the [Embed] tag to embed fonts in. it works when I debug my application in Flash Builder, but when I publish it on my site, all the embeded fonts are missing, they do not display, my code is

     [Embed(source="res/Font.TTF", fontName="Font",unicodeRange="U+30-U+39",mimeType="application/x-font" ,embedAsCFF="false")]
     public const Font:Class;
    =================================
     text.defaultTextFormat=new TextFormat(new Font());
    

    And when I check 'hasGlyphs()', they all return true in FB debugger and web page, just...

    Someone help me please, thank you 1 million

    One last thing, as the resource of police I use, images and animations are in the same application domain, why is the font? Images in a new application domain can be viewed freely, why not the fonts?

    Because the images contain definitions of class - if they did, and if you tried to use them in different ApplicationDomain then the same issue would occur. In any case, although you have solved the problem

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • Line height / spacing problem

    http://www.saracenlanding.com/events.html

    How can I open the line height in the text of the table? I wrote to 1.5 em line height in the rule table, but for some reason, it does not. This is the first site I ever built in DW (CS3 I think) and I don't know that it is gross under the hood. I wrote the rules on this one just for this page.

    Thanks in advance,

    Joe

    This rule in your linked css stylesheet:

    #veg-content table tr td {}
    border: 1px solid #000;
    do-family: Verdana, Geneva, without serif.
    line-height: 1em;
    do-size: 90%;
    Padding: 0.36em 0.35em 0.35em 0.4em.
    height: 25px;
    }

    Will work around this rule in your stylesheet css embedded.

    #holder table {}
    do-size: 0.8em;
    line-height: 1.5em;
    make-weight: normal;
    background-color: #FFC;
    border: 1px solid #000;
    border-collapse: collapse;
    text-align: left;
    vertical-align: top;
    }

    You have two options - change the height of the 1.5em line:

    #veg-content table tr td {}
    border: 1px solid #000;
    do-family: Verdana, Geneva, without serif.
    line-height: 1.5em;
    do-size: 90%;
    Padding: 0.36em 0.35em 0.35em 0.4em.
    height: 25px;
    }

    or "move down", a little further using your built-in css style.

    #veg - content #holder table td {}
    do-size: 0.8em;
    line-height: 1.5em;
    make-weight: normal;
    background-color: #FFC;
    border: 1px solid #000;
    border-collapse: collapse;
    text-align: left;
    vertical-align: top;
    }

    Option 1 is better because I don't see any reason why you would wrap the table in two

  • Compilation slow transformation with embedding fonts

    Hi all

    In app may I embedded fonts int the font.css file and use it in my mxml app now on pressing f11 its taking too much time for compiling... is it due to embedding the fonts... ?

    Thank you

    Hello

    Here for you a nice tutorial with a video included:

    http://www.axelscript.com/2008/10/03/improving-compile-times-with-runtime-CSS/

    Apart from the generation of the SWF in the debugging of the other project (I think it is bad), you can check the setting for the other project where you have your embeded fonts, including as a module.

    Claudino Bur.

  • Problems in CS3 and AS3 with embedded fonts

    Hello. I recently downloaded the trial version of CS3 to test. I am an experience AS2 developer, and have 10 years of C, C++, c#, Java, PHP... programming experience on MAJOR projects starting before flash.

    I tried to use a font embedded in AS3 with a dynamically created textfield. I tried all the examples of ActionScript 3.0 Cookbook from O'Reilly. They suggest using the [Embed] metadata tag, but quite honestly it doesn't do anything in CS3. I got the size selected report option, and it clearly shows by the size of file that the police is not present in the SWF file.

    Then I tried to do like I did in Flash 8. There still no luck. My TextField exists, but it is simple no rendered police... Here is my piece of code.

    In my library, I have a symbol called arialBold. In the connection settings, I have "Export for ActionScript" checked and "Export in first frame" checked. The class is "arialBold" but I wonder if it's true? and the Base class is 'flash.text.Font.

    I tried all the variations I could think. I have to do something wrong. You can find my file here:

    http://www.newcommerce.ca/AS3/fonttest.fla

    Thanks for your help! You can solve this problem, I would be very happy!



    Well, that's the way it was supposed to work, but I think what integrate coding Flex 2 and does not work with actionscript 3.0.

    Here's something that works: embed a font as you did for a.s. 2 and give it a class name (say _comicSansReg). You can then use:

  • Laptop screen starts flashing and white lines appear

    While working on my laptop of her debut screen flashing and white lines begin to appear in this topic. And sometimes she closes down.my laptop is Acer company. R3 - 471 series.

    Hello

    Sounds like corrupted graphics drivers, or graphic material.

    Update your graphics drivers for your model laptop and the operating system directly from the Acer site.

    Acer:

    http://us.Acer.com/AC/en/us/content/drivers

    See you soon.

  • TableView DataTemplate curious behavior of line height

    I noticed a problem of calculation of the HEIGHT of the LINE of the rows of the Table in a TableView.

    as a first step, I put TemplateRowProperties (40, PIXEL_HEIGHT).

    tested with some lines and it worked.

    But if there are more lines height becomes higher as more lines are there.

    has then tried to replace PERCENTAGE_HEIGHT and the value 10, so I expected that each line should get 10% of the display height.

    but the behavior even if there are more lines.

    Finally I'm done with this workaround: (not perfect, but in my case there are between 2 and 50 ranks works)

    dataTemplate.useFixedHeight(true);
    
    // Define regions and row height
    for (int i = 0; i < ROW_COUNT; i++) {
       dataTemplate.setRowProperties(i, new TemplateRowProperties(
           Math.max(1, MathUtilities.round(50/ROW_COUNT)),
                TemplateRowProperties.PERCENTAGE_HEIGHT));
    }
    

    is this a known bug? or I did something wrong?

    tried to useFixedHeight the value false, but then the height was too small.

    It's a simple table with 3 columns. Column width properties work as expected.

    int[]columnWidthPercent = new int[]{10,25,65};
    for(int col = 0; col < COL_COUNT; col++) {
          dataTemplate.createRegion(new XYRect(col,0,1,1));
          dataTemplate.setPosition(col,0,14);
          dataTemplate.setColumnProperties(
            col,
            new TemplateColumnProperties(
              columnWidthPercent[col],
              TemplateColumnProperties.PERCENTAGE_WIDTH));
    }
    

    THX

    We have problems with our login server Thursday, which have been resolved.

    Thanks for the taping of the show.  Someone should look into it soon.

Maybe you are looking for