Police in fixed width and premature line break?

I use an old FM (7.1), windows, write a document with a computer code, using fixed-width fonts belonging to the family of mail, for the most part, 12 pt.

FM doesn't seem to know how long the lines are: absolutely, he insists on the breaking of the good lines before arriving at the right margin. It doesn't with the fonts to variable width. I noticed that if I switch to a police fixed-width different (e.g. mail-> courier std) FM it stops at the same character position of the line, even if the length of the fragment he keeps on line 1 a a different length - as if the line length is calculated based on some internal width fantasy characters are.

Does anyone have a fix or a workaround for this? Do you know if this problem is fixed in newer versions? It is a serious problem for this document.

Thank you!

Try to set DisplayUsingPrinterMetrics = we in maker.ini. This indicates

FrameMaker to choose the number of pixels that matches line lengths. The

Off default setting tells him to choose the number of pixels that appears

the most obvious characters. This can lead to lines showing more or

shorter than expected - if they still print correctly.

Tags: Adobe FrameMaker

Similar Questions

  • How to create a labelfield with fixed width and dynamic height?

    I got this question in fact for a long time and I have not found answer in this forum so far.

    As we know, we can use:

    public int getPreferredWidth()
    {
        return fixedSize;
    }
    
    protected void layout(int width,int height)
    {
        super.layout(getPreferredWidth(), getPreferredHeight());
        super.setExtent(getPreferredWidth(), getPreferredHeight());
    }
    

    to set the width fixed in a field, but if the text is too long and should be multiline, this will bring problem, getPreferredHeight() only returns the preferred height, which is actually not the actual height, so the text will be hashed.

    So what should this setting? height?

    super.setExtent(getPreferredWidth(), height));
    

    No.... the height value is too large.

    So, how can we set this parameter to make this labelfield looks perfectly.

    Any idea?

    A search on the web is expected to increase a lot of examples of functions in Java text wrapping. Especially for BlackBerry, you can use Font.getAdvance (String text, int start, int len) to measure the width of a text segment without the expense of creation of substrings.

    The basic logic is to analyze the text character by character. If the "\n" character, force a line break. If the character is a space, then it is a line break candidate; Check if the line so far is set. If so, then move the candidate to that character end and continue; If this is not the case, go back to the previous candidate break and put an end to the line right there. The loop is initialized so that there is always at least one character on the line. The process ends when you run out of text. Details (including dealing with empty text, several spaces, etc.) are kept as an exercise for the reader, or search the Web well.

    I wouldn't worry efficiency. Put on the page of the field is not all that often, and when it's done, there's no escape from the need to make the work of packaging line at some point before the text is rendered on the screen. One way to avoid unnecessarily repeating work is to memoize the function of packaging line: wrapped lines and the width of the film cache and reuse them as needed. The cache is marked invalid if changes to text or the current width and the width of the film cached differ.

  • XML, CSS, tabs and unwanted line breaks

    Hello

    I spent days trying to fix this... including many hours of trawling the web, but nothing helped so I hope some of you can help out.

    I have a site that compiles to Actionscript 2.0 and Flash player 8.  This site uses the XML output from ASP.Net pages of database-oriented.

    The problem I have is basically where I have a tabstops set, in some cases, where the text from the first tab stop is over a certain length, a unwanted line break is released just before the last word in the entry.  (I know it's always the last word if I put a word on the end of the word chain that was originally on the new line being back in its place - so it doesn't seem to be associated with length).

    Indeed, what I want is as follows:

    Header1: descriptive text in the header 1-tete2: Description 2 header

    header3: Description 3 header4 header: header text 4

    text description here on multiple lines

    I mean, it is something like this:

    Header1: descriptive text in the header 1-tete2: Description 2 header

    header3: with a long Description 3 header

    Description header4: header text 4

    text description here on multiple lines

    I am loading Xml is as follows (this has been anonymised and rafters has changed to "[]")

    [? xml version = "1.0" encoding = "utf-8"?]
    [config scrollPosition = 'right' styleSheet=".\stylesheets\cv.css']
    [text]
    [textformat tabstops = "50,540,590"]: [tab /] T [tab /] T [tab /] T [tab /]: [br /]
    [list_by] Entered Date of CV [/ list_by]
    [br /]
    ["headertext"] Date: [/headertext]
    [tab /]
    [itemheader] September 2010 - March 2011 [/itemheader]
    [tab /]
    ["headertext"] Agency: [/headertext]
    [tab /]
    [itemheader] [a href ="http://www.xxxx.eu/xxxx.cfm"target = "_blank"] xxxxx [a] [/itemheader]
    [br /]
    ["headertext"] Role: [/headertext]
    [tab /]
    [itemheader] ABAP programmer Application Maintenance SAP ECC 6.0 Finland [/itemheader]

    [tab /]
    ["headertext"] Company: [/headertext]
    [tab /]
    [itemheader] [a href ="http://www.xxxx.com"target = "_blank"] xxxxx [a] [/itemheader]
    [br /]
    [br /]

    There are closing tags appropriate further down in the file.

    The CSS that relates to this is:

    HeaderText {}
    display: inline;
    color: #008000;
    }
    ItemHeader {}
    display: inline;
    color: #FFFFFF;
    }
    {list_by}
    do-size: 11pt;
    text-align: center;
    }
    {to preamble
    do-family: verdana_italic;
    text-align: justify;
    margin left: 150px;
    right margin: 150px;
    }
    {sum_title}
    text-align: center;
    do-size: 11pt;
    make-weight: bold;
    color: #FFFF00;
    }
    {text}
    do-family: verdana;
    do-size: 9pt;
    color: #FFFFFF;
    }

    And finally the Actionscript code:

    content_mc.scroll_txt.setTextFormat = tFormat;
    content_mc.scroll_txt.embedFonts = true;
    content_mc.scroll_txt.html = true;
    content_mc.scroll_txt.WordWrap = true;
    content_mc.scroll_txt. Multiline = true;
    content_mc.scroll_txt.condenseWhite = true;
    content_mc.scroll_txt. StyleSheet = myCSS;
    content_mc.scroll_txt. Text = sXml;

    In order to get the CSS work around the dynamic text field settings, I use an empty TextFormat object tFormat.  The XML is loaded with ignoreWhite set to true.

    Anyone any ideas?  Or I do not see the wood for the trees?

    Concerning

    Rich

    as I said, it may be a bug.

    and "unexpected" wasn't a good choice of words.  I expected because I'm familiar with the issue, but you're right, I wasn't expecting when I first met it.

  • Problem with XML and different line break styles

    I'm working on a project that is being developed by some developers Flash Builder 4.6 running in Windows and some developers Flash Builder 4.6 running under OSX. We have difficulties due to the difference of newlines between the two environments. In an .as file with line breaks in style UNIX is similar to the following code:

    var XML = < document >

    < item >

    < / item >

    < / document >;

    xml.appendChild (SomeClass.getXML ());

    SomeClass.getXML () is located in a file .as using type line breaks Windows and is similar to the following:

    public function getXML (): XML

    {

    var moreXML:XML = < anotherElement >

    < childElement >

    < / childElement >

    < / anotherElement >;

    Return moreXML;

    }

    When the XML object is serialized and written to a file on a Windows computer, it looks like this:

    < document >

    < item >

    < / item >

    < anotherElement >

    < childElement >

    < / childElement >

    < / anotherElement > < / document >

    Line for all outside anotherElement breaks are of the form \r\n. Line breaks it contains are of the form \r\r\n, causing thus the empty lines. I'm guessing that the odd line breaks are the cause of the strange setting indented, as well. None of these problems occur when XML is added to the xml file .as that employees style UNIX line breaks.

    Is it possible to force the Flash Builder to use UNIX on Windows style line breaks? Otherwise, there are relatively specific to this problem solutions? Thank you!

    Section clarified

    I found a setting to force a certain style of line breaks: window-> Preferences-> General-> Workspace (delimiter line of file new text). The XML serializes as planned today.

  • In v31.0, I can view is more 'raw' XML files with line breaks and ' &lt; ' and ' / &gt; ' characters. Is there a setting that will give me this option?

    Until a few days ago when I opened a file XML with Firefox, I see the content of the file appears with line breaks and ' < ' and ' / > ' and elements. Like this:

    fixed image in < typeOfResource > < / typeOfResource >

     <genre authority="marcgt">picture</genre>
     <genre authority="nmc">Print, Photographic</genre>
     <originInfo>
       <dateIssued encoding="marc">1884</dateIssued>
       <dateIssued encoding="marc">1884</dateIssued>
       <issuance>monographic</issuance>
     </originInfo>
     <language>
    

    Now, it will display like this:

     still image picture Print, Photographic 1884 1884 monographic eng electronic
    

    No tags or line breaks. I need to see the entire XML file. How can I configure FireFox to display this for me? One of my colleagues uses v31.0 and XML views with tags and the line breaks for him.

    For example, I was looking at files sitemap.xml (search Google for inurl:sitemap.xml). For those who have not declared a style sheet, you should always see the classic "source highlight: presentation

    Example: http://www.website.com/sitemap.xml

    Are the files that don't appear as similar planned by not declaring a style sheet?

    As a temporary workaround, you can view the source to see the original. Either:

    • CTRL + u
    • Right click > view Page Source
  • PL/SQL formatter bug (line breaks)?

    Hello

    Developer SQL 3.0.04

    I'm trying to format my PL/SQL code.
    I have a problem of code written as a formatting string (between ") and containing line breaks.

    Example (code by default without formatting):
    begin
        -- build the query
        l_query := l_query || 
          'select distinct
            col1 as "A",
            col2 as "B.",
            col3||''.''||col4||''.''||col5 as "C",
            col6 as "D",
            col7 as "E",
            col8 as "F"
          from
            table1 inner join table2 on tbl1_id = tbl2_id1
            left join table3 on tbl3_id = tbl2_id2
            '||l_from||'
          where
            '''||in_report_to_compute||''' = ''PIL''
            and col5 = ''P''
            '||point_ui.get_where_for_point_query(in_source, in_report_to_compute);
        return l_query;
    end;
    When I have the format:
    begin
        -- build the query
        l_query := l_query || 'select distinct
    
    col1 as "A",
    
    col2 as "B.",
    
    col3||''.''||col4||''.''||col5 as "C",
    
    col6 as "D",
    
    col7 as "E",
    
    col8 as "F"
    
    from
    
    table1 inner join table2 on tbl1_id = tbl2_id1
    
    left join table3 on tbl3_id = tbl2_id2
    
    '||l_from||'
    
    where
    
    '''||in_report_to_compute||''' = ''PIL''
    
    and col5 = ''P''
    
    '||point_ui.get_where_for_point_query(in_source, in_report_to_compute) ;
        return l_query;
    end;
    And once again the format:
    begin
        -- build the query
        l_query := l_query || 'select distinct
    
    
    
    col1 as "A",
    
    
    
    col2 as "B.",
    
    
    
    col3||''.''||col4||''.''||col5 as "C",
    
    
    
    col6 as "D",
    
    
    
    col7 as "E",
    
    
    
    col8 as "F"
    
    
    
    from
    
    
    
    table1 inner join table2 on tbl1_id = tbl2_id1
    
    
    
    left join table3 on tbl3_id = tbl2_id2
    
    
    
    '||l_from||'
    
    
    
    where
    
    
    
    '''||in_report_to_compute||''' = ''PIL''
    
    
    
    and col5 = ''P''
    
    
    
    '||point_ui.get_where_for_point_query(in_source, in_report_to_compute) ;
        return l_query;
    end;
    It seems to double line breaks + 1 each time:
    jump to 1 line
    3 line breaks
    7 line breaks
    15 line breaks
    line breaks 31
    etc.

    I unchecked all the trainer configuration, with the exception of the CASE line crossings.
    Commas with line number: 1
    Width Max Line: 999
    Threashold for SQL small: 999

    How can I avoid this?

    Thank you.

    Yann.

    Hi Yann39

    Workaround: use Chr (10) instead of multiline strings.
    See Re: Trainer code break my literal "Asunder"

    Reproduced and connected
    Bug 14114689 - TRAINER of CODE BREAKING MY LITERAL ASUNDER (to the AID of MULTI LINE LITTERAUX)

    -Turloch
    SQLDeveloper forum

  • Adobe Muse: Highlight of fixed width (red color I think!) guide is not displayed? Where is he?

    I am trying to create a fixed width and I drag my box on the edge and no guide introduce you?

    Have I not the guides showing or something? in any case I hope I described it enough...

    Thank you for anyones help.

    Usher357

    I think I found the answer myself:

    IN the preferences of muse (with no documents open) / selection display / Smart guides

  • Closed captioning line break

    Is it possible to add newlines to captioning in Captivate? I was copy and paste my text from Word and adding line breaks there. But sometimes you just need a straight jump track and do not want to use the word.

    Yes.  Open the properties of the slide to the slide containing the CC that you want to change, and then click the Audio tab.  Now, click on the button captions and a new dialog box will open containing your text CC.  This is where you can control the timing of your subtitles as well.

    I hope this helps!

    Randy

  • Fixed width site - Mobile breakpoint is not in line with the size of the screen

    Hi all

    Muse Noob here. Still having problems with a Web site

    Before I made this site fixed width with no break points and would be automatically to down-size to fit the smaller screen sizes such as phones etc. Now, I've added a breakpoint of fixed width on 2 of the pages for mobile, they appear too large for the screen of the phone and I have to zoom out to view it properly.

    Any suggestions on how I can fix this?

    The breakpoint is at 533 pixels

    The site is: The Cake Lady Ibiza | The Ibiza cake Lady if someone wants to check.

    Thanks in advance for the help.

    When you work with a fixed layout or set breakpoints, there is a rule:

    Content cannot be outside the fields, except for the blocks of width 100%, objects with effects pinning or scrolling.

    Therefore, you must return the breakpoint 960. And then, to put a breakpoint in increments of 200 pixels. I recommend you create a new project. Because you can greatly confused if you start to fix the existing project.

  • Can we fix the width of the lines of af: PanelFormLayout, so that the inputText fields adjust line width?

    Mr President.

    My worm jdev is 12.1.3.0


    Can we fix the width of the lines of af: PanelFormLayout, so that the inputText fields adjust line width?

    When I put a viewobject as a form with two rows in the panelbox, then the inputtext fields have different widths to disturb the box width of Panel and the distance between two lines increases.

    I want to keep equal with the panelbox two lines of formatting Panel.

    Concerning

    Select your inputText on pageEditor go to inspector and set width: 150px; in the contentStyle property

    check -binary: customization of the width of a UI control using the contentStyle attribute

    To set the width of the Panel form layout set in the inlineStyle property

    Ashish

  • FTP Dreamweaver CC2015 removes all line breaks in the php files. How can I fix this problem?

    When I upload a php file. The ftp transfer removes all line breaks and creates a continuous line of unique text. I need to download the code with all the line breaks in the original php file correctly.

    I found the problem.

    FTP of Dreamweaver CC 2015 program is not compatible with Yosemite 10.10.5 on all ftp servers.

    The new version of FileZilla (v 3.14.0) is also not consistent.

    Fetch 5.7.5 is fully compatible with Yosemite. With Fetch, I can download the files without any problems successfully.

    In their update, Fetch mentioned that the problem is not with all servers.

    I host on Unix servers with HostGator AMD Opteron processors running on an OS GNU/Linux 64 - bit.

    If you run Yosemite and ftp of Dreamweaver is ruin your line breaks, then use Fetch until Adobe can fix their problem.

  • HTMLEditFormat/HTMLCodeFormat with line breaks and newline

    I seeks to some user entered the information on the screen and hit my a problem of output formatting. If I use HTMLEditFormat(), I lose all the line breaks, but that Word wraps nicely. If I use HTMLCodeFormat(), I get line breaks, but the text isn't as word wrap, making some really large screens, even if I put the information in a table with specific to a specific width defined. Is there a way to get the best of both worlds? I need to be able to keep line breaks (sometimes they seized lists or have several paragraphs) but want to word wrap too so that it is easy to read without scrolling sideways. Any ideas?

    Thanks for your suggestions. Given that the information is entered by external users and displayed to the public, I use HTMLEditFormat and HTMLCodeFormat to help prevent script attacks, so don't really want to drop them altogether. However, I discover after playing with the suggestion listed here, it will work: #Replace (HTMLEditFormat (mytext), chr (10),')
    (', 'all') #.

    HTMLEditFormat gets rid of the carriage return character, but not the line supply, so it is possible to replace line breaks with
    to create the desired effect.

    Thanks for your suggestions.

  • Easy way to remove excess line breaks in txt, html, and epub files?

    Transfer to my e-reader to read web pages. I have to convert everything in epub, because the PDF files and djvus are designed for larger screens, and txt and html are not displayed correctly.

    In any case, some pages have a lot of extra newlines that are arranged for larger screens.

    I have to remove the line breaks to make it readable. I know that DevonTech wordservice works in txt, which I can convert it to Epub. Is there something that works in Epub itself? Is there something else that works in txt?

    Thank you.

    INTHE html, these line breaks appear to be either < br / > or < br / > where the paragraph breaks are < p >. So, it seems easier to edit files ePub in the editor, as the iWrite series Epub or the caliber, that the modification of the txts.

  • Causes of white space, tab, and line breaks slow in running the queries? What is the main reason behind it?

    Hi all


    I am facing a weird problem in the SQL query. Taken, I wrote the request with the spaces, tabs and line breaks after execution it slows down the database and finally, I have to restart the database again. But after removing the spaces the application went very well. I don't know what the problem causing this slow run, but after the removal of whitespace to query everything works fine. I've also confirmed plans to explain the two after the removal of whitespace and previously had the same results.

    I use the TOOL of DEVLOPER PL/SQL, SQL developer, Toad and Oracle 11 g.

    ***************************************************************

    For example. (in reference to my original query):

    Select

    *

    Of

    Double;

    ****************************************************************

    (After removing whitespace)

    Select * twice;

    *****************************************************************

    What would be the reason for white spaces causing slow performance?

    Please let me know if you need additional information on my question.


    Thanks in advance,

    HP

    If you make the first request without spaces and the second by spaces you will see, the second is even faster...

    The reason why are cached revenge...

    HTH

  • Widow and line break TextField

    Hello

    In a TextField with multiline set to true, how can I find where the text has a line break?

    I want to find the breaking point and then find a "widow", I want to find out how many words after the line break. I heard that the text field creates a software interrupt.

    I believe that this is the position of the soft line break-

    textField.text.indexOf('\r')


    Then I have to get the string after that position.


    Then get an array of the words in this chain, something like this-

    String.Split(/\w | ' | (/ IG);


    Can anyone share any advice or solutions?


    DJ Gecko says:

    Hi Kglad,

    Thanks again for the help. I had to make some changes so that it can work properly.

    public static void countWords(tf:TextField,_s:String):Vector.

    {

    var returnA:Vector. = new Vector. ();

    var textA:Array = s.split(' ');

    var save: String = tf.text;

    TF. Text = ";

    var num_line:uint = 1;

    var wordCnt:uint = 0;

    for (var i: uint = 0; i< texta.length;="">

    {

    tf.appendText (textA [i] + "");

    wordCnt ++;

    If (tf.numLines! = num_line)

    {

    the last word added to the created text field a new line

    We do not want to include this last word to our word count for the previous line

    -wordCnt;

    returnA.push (wordCnt);

    num_line = tf.numLines;

    Since the last added word created the new line, we add it to our account

    wordCnt = 1;

    }

    }

    If there is a single line, we need. If there is more than one line, then this is the number of words to the last line

    returnA.push (wordCnt);

    TF. Text = saves;

    return returnA;

    }

    glad to hear that you guessed it work.

Maybe you are looking for

  • problems with RSS

    For the last iterations little Firefox, a number of sites that offer a news FEED that are visible in other browsers, do not show the RSS buttons in firefox. I have to go to other browsers to subscribe to them. Would really prefer is not to have to do

  • I have not received a Toshiba Recovery disk

    Hello I did not receive a recovery disk toshiba that I need right now can someone give me options to help me solve this problem, I need to do this since I need to study and I need a disk to reboot now Please you guys can help me Thank you feel free t

  • I can't burn a CD - R, close Media Player or shut down my computer.

    I didn't think that the burn was in progress, so I ejected it and tried a new CD. Now he says how many minutes left on the first CD and does not burn a new. I can't close the program or my computer.  No idea what I can do?  I still want to burn the p

  • I think wscsvc has been deleted. How can I re-enstall it?

    I ran "cmd/k qc wscsvc" and he says "the system cannot find the file specified." What should I do?

  • Help! Data recovery!

    Hi all My laptop was working fine when suddenly it became very slow access to the data for a couple of days. The next Win7 has not loaded up. Now I can't even the Dell BIOS screen upwards and the course when I turn it on. Just a black screen (is powe