Xsl attribute font-size doesnt work

Hi,
I wanted to set the font-size dynamically.
I tried as below:
<xsl:attribute xdofo:ctx="incontext" name="font-size">30pt</xsl:attribute>
<?attribute@incontext:font-size;'30pt'?>
nothing worked.
But If I give the same for font-weight it works.
Whereas If I use <fo:block font-size="30pt">TEXT</fo:block> it works as expected.
May I know why xsl attributes doesnt work in this case?
Thanks in Advance.

Hi,
If i understand, you want different font-size for different text blocks which contain more than one row?
E.g.
<font size="1">Some text in
first block</font></br>
<font size="2">Some text in
second block</font></br>
<font size="3">Some text in
third block</font></br>
Something like that?

Similar Messages

  • Minimum Font Size not working in Safari 4.0.4

    Setting the minimum font size in Safari is ineffectual. Also, there seems to be another problem: the right and left sides of the search box on the right on this page are doubled and look like this: (( )). Are there any solutions to fix these? Thanks.

    This is a know issue that the hosts know. This problem has been happening for many months. Apple doesn't own the program that makes this forum happen. So it's not an easy fix for the host to do. Maybe on day they get the maker of the forum program to fix it. The search box still works.

  • Font Size Change works on all except menu & Lists

    Hi folks.  I've searched the forum and gone through about 100 pages of issues with Font size and font changes but have not found an answer that fixes the issue i'm having.
    Issue:  I change the font size in Menu, options, screen/keyboard.  This changes the font on everything in the system EXCEPT the email listing, SMS listings, BBerry Messenger Listings, Menu Lists (like the options menu, etc...
    i have seen answers to similar questiions that says that these items might be theme controlled.  Is there a way for me to fix without deleting my theme?
    i've seen many people telling developers how to allow users to change the font but nothing that addresses this issue.
    finally, i've seen some answers that say a person should upgrade to the latest software OS.  i ahve the latest OS 5.0.0.654 on a sprint curve 8530...
    so to sum up... when i actually see the lsit of emails in my inbox, that font stays constant.  when i open a specific email that font is what i chose within Screen/Keyboard option in settings/options menu... Same with SMS, same with almost everything...
    Any help would be appreciated.  Thanks tons.
    dave

    If it is a theme issue, the only way to fix it would be to contact the developer and see if they can develop a fix (or adjust it for you).  The catch is that when I played around with themes, it seemed that most of these sorts of settings were set within the theme itself and it wasn't easy to be able to adjust it.  It's not to say it wouldn't be possible - just that I couldn't figure out how during my efforts.
    I'm glad you were able to figure out the source of the problem.  I just wish there was something more that you could do to directly fix it yourself.
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • Font sizes changed on different boxes.

    Hello everyone,
    I have a dilemna regarding my SMARTFORMS. The problem goes that on the DEV box the font sizes and working ok but when the forms were transported to the Staging (STG) box, the font sizes are smaller than those from DEV box. I am using SMARTSTYLE and a custom font. I have checked the forms and smartstyle from both boxes and they are exactly the same. The custom font is also installed in SE73. Now I don't know what to do next. Please help.

    Hi ,
    You dont have to ask them to create a new one . They will configure printers to other clients . You ask them whether u have have to use lpo1 or some other device type for printing in ur client .
    I also faced the same problem . In development it worked fine where as in qa it gave the same font problems .
    your basis person might have created some different output device in place of  lp01 .
    Regards

  • Font size larger than 72pt?

    I'm new to this product, so this may be a stupid question...
    I'm trying to create a pdf with form fields. In one field, a text field, I want the font size to be around 150pt. However, it's not available in the dropdown, so I type it into the font size field and hit enter. It appears in the design view with the new, larger size, but when I go to Preview PDF it shows up very small. However, when I use one of the drop down font sizes it works just fine. Oh, and I have allowed multiple lines and tried both rich text and plain text. Frankly, I've played with this field in every way I can imagine to get the 150pts (or even anything other than the drop down sizes) to show, and I just can't get it to work.
    Help?

    Works fine for me ....I wonder if it has something to do with the font you are using!
    Paul

  • Fonts sizes do not match from Fireworks to coding software

    I am creating bitmaps in FireWorks for a GUI that is being
    implamented in MS Visual Studio. The bitmaps are being saved at 96
    dpi per the engineers request. When i spec a font size that works
    in the Fireworks environment it comes out larger when typed in
    Visual Studio.
    I tried to replicate the problem using Photoshop and got the
    same problem. when i bumped the dpi down to 72 and typed the
    specified font sized it worked perfectly. If i keep the dpi at 96 i
    have to bump the font size down from 14pt to 12 and it seems to
    work
    Any clue as to why this is happening?
    Thanks
    Steve

    On Sun, 2 Jul 2006, Ilya Razmanov wrote
    >I'm afraid people related to some print areas may
    question the
    >definition of "dots" and "dpi".
    They would, because print is different to screen. The OPs
    question was
    about bitmaps and not printing. I don't cover printing on my
    site
    because it's another topic.
    >Unless, of course, you provide us with universal
    definitions of
    >points, dots, DBUs and, apparently, inches (I'm afraid we
    are about to
    >have problems even with inches).
    I do give definitions on the site. As for "universal" the
    terms I use
    are universal in the Windows world, except when even
    Microsoft
    documentation gets it wrong. Documentation, in a large
    company, is
    seldom written by the people who write the software - they
    have better
    things to do -:)
    The concept of screen logical inches, as opposed to screen
    physical
    inches, is difficult because they are both referred to as
    just inches.
    Logical inches are referred to in Microsoft documentation and
    a problem,
    as with most Microsoft documentation, is that they almost
    never explain
    what they mean. They take it for granted that if you need to
    read it
    then you know what it means. This document mentions logical
    inches in
    the last paragraph.
    <
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fon
    text_56yb.asp>
    >However, that was not my main point. My main point was
    that software
    >have to translate these units somehow, and the "metric"
    sometimes do
    >not match.
    Could you give an example of this "mismatch:?
    Richard Mason
    http://www.emdpi.com

  • Photoshop CC Tracking, Kerning, font size MESSED UP

    The Photoshop CC Tracking, Kerning, font size is MESSED UP.
    If you try to adjust anything by scrubbing it makes a huge number like 40000....
    holding ALT doesn't help either... Need a fix for this fast!

    I don't want to hijack this thread, but I'm experiencing an issue that is different, but may be related. It is with the same area in Photoshop CC, but the bug I'm getting is a little different:
    I don't have to scrub, I can just type a number like 50 for tracking, and when I hit enter, it changes to 11. 100 changes to 23. 200 changes to 47. If I scrub, I can scrub to a super high number like 6876, and when I release the mouse, it changes to 262. Scrubbing to 336 changes to 12 upon release.
    coincidentally, typing in 6876 and 336 gives me results of 1650 and 80 respectively - so apparently when I type in a number it changes to approximately a quarter of its value, but not exactly, where as scrubbing gives me around 1/26th or 1/28th the value. The values given are consistent each time when I type in a number. 200 tracking always converts to 47 for some reason - I don't know about scrubbing..
    This started without resizing the text. I just used the T tool. Typed some characters, and then tried adjusting the tracking.
    When scrubbing other settings like Font Size and Leading I get this same effect where it jumps down to a much lower number than set. If I manually type in a font size, it works appropriately.
    This happened in CS6 and CC. I don't recall what I was working on in the past when this occurred, but today when it started, I am working in Adobe CC on a file that had been created in CS4 or 5, I believe. When I create a new Adobe CC document, I do not experience the issue immediately, but I don't know exactly what the trigger is for the bug.

  • Mail Shortcut to Increase Font Size

    On my G5, I cannot get the shortcut keys (command&+) to increase the font size in mail. The menu item for this function works properly and the shortcut to decrease the font size (command&-) work properly. Any suggestions?

    If you're using the main section of the keyboard, remember to hold down shift, too, because the + sign is on the upper row. You don't need shift if you're using the + on the numerical keypad, of course.
    iMac G5 2.1 GHz, 1.5 GB RAM   Mac OS X (10.4.3)  

  • Using firefox doesnt work with windows 7, cant change font or viewing size of sites, why?

    viewing on my hp 2310m monitor is very condensed and small, toolbars are ok to view

    You can use the NoSquint extension to set font size (text/page zoom) and text color on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/
    See also:
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • I have iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hi, I have the  iphone 4s and just bought an ebook for ibook, trouble is the font is so tiny I can't read it and the font sizer is not working? Please help!

    Hello Glittergirl68,
    Thank you for using Apple Support Communities.
    It sounds like the function to reseize the Font in an iBook is not functioning properly.
    I recommend a few things here. First close all the apps that are running in the background:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    From: iOS: Force an app to close
              http://support.apple.com/kb/ht5137
    When you have done that, restart the phone, and try again.
    If the issue persists, I would follow these steps from the article:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    2. Check for app updates
    You can setup apps to update automatically in Settings > iTunes & App Store, but make sure that your apps are up to date:
    Open the App Store and tap Updates. If updates are available, tap Update All.
    If  prompted, enter your iTunes Store account information. App Store will then download and install the app updates.
    Note: Some apps may require a Wi-Fi connection to update.
    3. Install another app from the App Store
    If none of your user-installed apps will launch, there could be an issue with Apple ID authorization. Download and install an app that isn't already installed on your device to reset this information. You can also remove an app from your iOS device and download it again from the App Store or sync the app from your computer.Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    4. Restart the app
    If the issue affects only a single app, try closing just that app.
    5. Restart your device
    Turn the device off and on.
    6. Reinstall the affected app
    Remove the app from your device and reinstall it:
    Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-right corner of the app.
    Tap the "x" in the corner of the app you want to delete.
    Tap Delete to remove the app and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the app and then download it again.
    All the very best,
    Sterling

  • Unable to use all the feature of my email service (Juno on the web) like; font size/color, bolding, italics, highlighting etc why? Those features work through Internet Explorer but not Firefox.

    When I go to my Juno on the web through Firefox, I am unable to use the tool features such as:
    Font size / Color
    Bolding
    Italics
    Bullets
    Highlighting
    just to name a few. Yet when I bring it up through Internet Explorer these features work, plus the way Firefox reads my Juno the tabs are distorted (the page is not formatted correctly, I contacted Juno they said I should contact my modem company AT& T they said no so you are my last resort.. Please help resolve my issue, THANK YOU in advance for assisting with this matter.

    It is up to Juno to enable Midas, the Rich Text Editor which is built into Firefox, with one little line of code on every web page that has RTE for IE. There's nothing that you can do to turn that feature on your self, it has to be coded on each web page that has Rich Text Editing.
    http://www.mozilla.org/editor/midas-spec.html <br />
    http://kb.mozillazine.org/Midas
    Their ignorance probably lies with their staff programmers only knowing how to do it for IE ''(their training and certificates are probably from the Microsoft cabal)'', and not realizing that Gecko and WebKit apps each have their own Rich Text Editor's, which require their own small line of code to enable those Editor's.

  • Adobe Reader 9 doesnt render font size's smaller that 6

    I have Adobe Reader 9 and Adobe Acrobat 8 installed on my computer.
    When i try to open a pdf that has a font size of 5 or smaller doesnt matter which font it is it will cut half of the text off in Adobe reader 9.  This seems to be a problem with Adobe Reader 9 cause i have multiple computers here at my office that are running adobe reader 9 and they also cannot see all of there text if it is font size 5 or smaller.
    When i open this exact same pdf in adobe acrobat 8 it renders the font size 5 text.
    Is there a font library or pack that i can download to solve this problem for adobe reader 9.
    The reason i ask is because i have clients that are using adobe reader 9 that need to be able to see these pdf's.
    Any help will be greatly appreciated.
    Thanks,
    Adam Nowlin

    I have Adobe Reader 9 and Adobe Acrobat 8 installed on my computer.
    When i try to open a pdf that has a font size of 5 or smaller doesnt matter which font it is it will cut half of the text off in Adobe reader 9.  This seems to be a problem with Adobe Reader 9 cause i have multiple computers here at my office that are running adobe reader 9 and they also cannot see all of there text if it is font size 5 or smaller.
    When i open this exact same pdf in adobe acrobat 8 it renders the font size 5 text.
    Is there a font library or pack that i can download to solve this problem for adobe reader 9.
    The reason i ask is because i have clients that are using adobe reader 9 that need to be able to see these pdf's.
    Any help will be greatly appreciated.
    Thanks,
    Adam Nowlin

  • In CS5, the font size in the type tool isn't working correctly. example: 30 point looks like 4 point

    In CS 5, the font size in the type tool isn't working correctly.
    Example: 30 point looks like 4 point
    How can I correct it?

    In case you have not fixed this, take a look at your Image Size (Ctrl Alt i).  The default when you make a new document window is 72ppi which can result in smaller text than you sometimes expect.  If you open Image size, turn off resample, and change the resolution to something like 300, you'll get much larger type for the same settings.
    For this reason one of the first things I do after installing Photoshop, or resetting Preferences, is to open Preferences > Units & rulers, and set Type to mm.  This way I know that if the document is set to A4, and orientated in landscape (297mm x 210mm) setting text to 21mm is going to result in type exactly one tenth the height of the document.
    I believe people in America still use inches, but unfortunately inches are not an option for Type units in Preferences.  It is easy enough to work it out in your head though. A 10x8 document with type set to 25mm will give you text one eighth the height of the document.
    The bottom line is you can at least predict what is going to happen when setting text size.

  • Font Size too small to work with

    In the code view, the Font Size is too small to work with and the zoom in/out and magnification are grayed out.
    How do I increase the font size so I can see what I'm doing?
    Many thanks!

    Edit > Preferences > Fonts > Code View.
    HINT:  If you switch between Western European and Unicode, be sure to set-up font-sizes for both.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Cfdocument doesn't work with my font size

    Hi All,
    My font size doesn't work inside my cfdocument using css
    Here is my code:
    In My css file I have this:
    body {     font-family:"times new roman";     font-size: 18px;     line-height: 20px; } 
    The font is a TTF and it shows in my cfadmin as:
    Font Family Font Face Postscript Name Font Type Useable In Path
    times new roman
    Times New Roman
    TimesNewRomanPSMT
    TRUETYPE
    PDF/FlashPaper
    c:\windows\fonts\times.ttf
    I try using postscript name and the same issue. If I increase the font size it actually reduce the size on the screen.
    I'm using windows 2008 with CF8 with the latest hotfix 8,0,1,195765
    Any ideas?
    Thanks in advance.
    Johnny

    Don't know why didn't show my code.
    Here is the code:
    <cfdocument format="flashpaper" pagetype="letter" fontembed="yes" margintop="0.3" marginbottom="1.25" marginleft="1" marginright="1.25" unit="in">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
    <head>
        <style type="text/css" media="screen">
            @import url(assets/css/preview.css);
        </style>
    </head>

Maybe you are looking for