SSRS:: Converting font size from px to pt

Hi All,
If I have the following HTML:
<p style="line-height: 20.7999992370605px; text-align: center;"><span style="font-size: 12px;"><span style="font-family: arial, helvetica, sans-serif;">Test Test Test</span></span></p><p style="line-height: 20.7999992370605px; text-align: center;"><span style="font-size: 25px;"><span style="font-family: arial, helvetica, sans-serif;">Test Test Test</span></span></p>
I want to multiple the font-size with 0.75 to convert it from px to pt.
12px--> 12*0.75 pt
25px--> 25*0.75 pt
How can I convert it to the following using expression?
<p style="line-height: 20.7999992370605px; text-align: center;"><span style="font-size: (12*0.75)pt;"><span style="font-family: arial, helvetica, sans-serif;">Test Test Test</span></span></p><p style="line-height: 20.7999992370605px; text-align: center;"><span style="font-size: (25*0.75)pt;"><span style="font-family: arial, helvetica, sans-serif;">Test Test Test</span></span></p>
Thank you,

Hi Ghada,
According to yourdescription, you want to convert the px into pt in HTML tags. Right?
Based on my knowledge, HTML tags can't support calculation like 12*0.75 to specify value for a properties. So you may need to directly put "9pt" into HTML tags. Since this forum is only for SQL Server Reporting Services, we suggest you post this
thread on a HTML CSS forum. 
Best Regards,
Simon Hou

Similar Messages

  • How do I change font size from points into pixels?

    I used to be able to set font size in points but CS 6 has removed this? Please dont say that points = pixels. They do not. See for yourself.  A photoshop doc and an Indesign doc have the same pixel size. A 20 point character "A" in InDesign, will be larger than a 20 pixel character "A" in photoshop. This creates hours of extra work when translating text heavy InDesign documents into Photoshop PSDs. Is there any workaround? Help!

    Ok, I know why you dont understand my question. I should have said, that points in InDesign do not equal pixels in HTML  (and I should have left Photoshop out of it). 
    My problem is going directly from InDesign to HTML CSS code. I used to be able to look at the type in my layout sketch in InDesign, select pixels in the units preferences and (assuming I am using the same webfont thanks to google fonts and the @fontface style) the font size would match exactly when I view the webpage in a browser. But now, when I try to code my webpage fonts in pixels, using the value from InDesign's points, fonts sizes dont match when viewed in borwser. This may seem like I am splitting hairs to you but it makes a big difference if I can just look at my InDesign sketch and see the excact size of the type without having to export a tracing/guide image and try to match visually. It just worked when I could see font size in pixles in InDesign in CS 5.5 but does not work in CS 6.
    Try a test: make a div in webpage with same pixel size as an InDeisgn doc. Use a defualt font like helvetic that is aval. to both InDesign and your browser. A 20 point word will not match a 20 pixel word in the same font.
    Also: I believe I rulled out any font replacment issues. For my designes, I am using the same font in both the InDesign doc and webpage code. I am using google fonts (donloaded for indesign and "link href" in head of code on webpage and/or using the @fontface style).

  • Font Size from Desktop 4.1 to 4.1.4 is Too Small--can it be changed.

    I notice that when I upgraded from Desktop 4.1 to Desktop 4.1.4 that the font size for memos, calendar, contacts, .etc is considerably smaller than it was in DT 4.1.
    I've seen some posts here that seem to suggest that there is NO way to change the font size of Palm Desktop for the Palm III class of PDA's.
    I suppose Palm thought they were doing us a favor by decreasing the font size and allowing more viewable text on screen BUT actually it's just another source of eye strain.
    Anyone found a work around for this before I roll back to Desktop 4.1?--'cause I'm sure not about to change my system default font size or resolution to accommodate this new "feature".
    Post relates to: Palm IIIxe

    Morrison-Lives wrote:
    Using "regedit" I was able to change the font size larger for use with the Palm Desktop software.
      Run "regedit" and export (save) a backup copy for safety
        File  >  Export  
      Search for "FontSmall"
        Edit  >  Find  >  Find what  >  FontSmall
      Click on FontSizeGeneral and change the "Value data" to 16
      Exit "regedit"
      Run Palm Desktop software and enjoy the new legible font size!
      Notes:
      1) The location of the Palm Desktop software on my system using "regedit" is:
            HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop\Core
            * Your location of the Palm Desktop software may differ.
      2) I tested this on monitors using resolutions of 1280 x 1024 and 1024 x 768
            The font size is noticeably readable and much, much better
      3) You may also change the font family from the default (Arial) to another, such as Verdana, etc.
            FontCard    (Changes the font family in the side panels)
            FontGeneral    (Changes the font family for most of the program fonts)
      4) Operating System: Windows XP Pro
            Palm Desktop v4.1.4
    Thanks a Lot... It works excellent for me!

  • How to change the font size from tabs ???

    Hi
    I found a tip to change the CSS in the apache directory in the forum here.
    but i can´t find the directory on my hard disk/oracle directory
    i got this version installed:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    can i change the font size of tabs/regions etc in any other way??

    Hi,
    The font size is defined by the style class used for the tab cells (tabs are normally created as cells in a table).
    To do this, the simplest solution may be to edit the page template:
    1 - Go to Shared Components/Templates
    2 - Select the page template(s) that you are using (you will have to do this for each template that you've used that uses tabs)
    3 - Scroll down to "Standard Tab Attributes" - you'll see two sections: Current Tab and Non Current Standard Tab.
    In Current Tab, you'll have something like:
    &lt;a href="#TAB_LINK#" class="t12standardtabcurrent"&gt;#TAB_LABEL#&lt;/a&gt;
    In Non Current Standard Tab, you'll have something like:
    &lt;a href="#TAB_LINK#" class="t12standardtabnoncurrent"&gt;#TAB_LABEL#&lt;/a&gt;
    After the class="...." attribute add in style="font-size:12px" (use whatever px value you want)
    4 - You should repeat the process for Current Parent Tab and Non Current Parent Tab as these contain the same settings
    5 - Apply your changes
    Regards
    Andy

  • Change font size in Z-Report created from template

    A Z-report is being created from template which uses WWI.INI file integration to generate the report in Microsoft Word. In that report the text from phrases is passing over the specified text box. So all the phrases are not displayed.
    Now user either want the size of font to decrease or change the size of the box.
    We are going ahead with changing the font size. To do so we are editing the template in CG42. Is this approach is correct or we can change the font size from somewhere else??. If yes ,then how to proceed ??
    Your help will be greatly appreciated as I am new to EHS and have very limited knowledge.

    Hello Aasim,
    Just try it out
    If you are afraid to destroy something on the WWI template create a copy of the template and do your testing there....
    Read the SAP help on WWI.
    Can I edit font in the Microsoft Word file which is generated after I click "Document (F7)" button??
    Yes you can.
    If yes , then suppose I change the font size in a text box there.Does the font of phrase's text also changes accordingly when the report is generated.
    Yes.
    And does that change is for all the phrases in that text box ( since no. of phrases varies according to the specification)???
    Yes it will change the font size for all phrases in that text box.
    There is an option in WWI where you can change the text size dynamically if the text is in a real text box.
    However I'm currently not sure if this works for all kind of WWI templates or only for labels.
    Hope this helps
    Mark

  • I cant' control the font - size displayed during edition is different from the ones (1 or more - never know) sent.

    1) When I edit my e-mail, the font is always the same - arial 10 pts. But once the e-mail is sent, what I can see in my 'sent' box and what the receiver gets is all messed up, especially when I have pasted some text. There are parts with huge font and there are with such a small one that it's difficult to read it. Or the whole text is extremely large or tiny.
    I need to write in HTML for I often must highlight some parts. I searched many forums but nowhere found any answer.
    2) When i get an e-mail the problem is similar: it can be written with the letters you can distinguish from the other side of the room or on a contrary - you would use binoculars to read it comfortably. The least font is set to 10 pts.
    Thunderbird 31.3.0, Win 7 (64).

    From John Waller: “If you're using IE8, hit F12 to launch Developer Tools which give you a point and click method of locating the relevant CSS rule on screen.”
    I have Internet Explorer 8 (IE8) so tried this method.
    This sounded like another promising possibility; however, I have not been able to change the font size in my post using this method.
    I have gone to Dashboard > Posts > Edit > then moused-over my post > clicked on "edit" and then hit F12. An enormous amount (20 pages or more) of CSS appears. I tried picking out the font size that I thought pertains to the post (under Text Area), and I have changed the font size from 13px to 24px; however, I have not been able to “save” the new setting. When I go back to it, it is back to 13px.
    As a result, I have not been able to use a trial-and-error method to establish which font size I must change in order to change the font size of my post.

  • Adobe Reader XI 11.0.07: font size in comments has been reduced to about 5pt with this update

    Win7 x64/sp1 with many updates:
    For the last few years, I have experienced major font problems with the comments, such as attempting to make a change in a font style causing Reader to lock up for about 3 or 4 minutes.
    I allowed the update to 11.0.07 this am and the pdf I was working on, at length yesterday, now has the font size in the numerous comments I created reduced to about 5 pt. I know: that small isn't possible, but that's about what it looks like.
    I believe that Adobe's quality control on Reader has been grossly lacking in the comments area. It has been suggested to me that I switch to PDF-XChange.
    I will seriously consider it, because, as I open up pdfs from years past that I need to use for the material I'm working on, I see that the font size in all of those comments has been reduced drastically as well.
    The only remedy that I can find is to open each comment individually and "Clear formatting."
    That will amount to an enormous waste of time.
    Please hire someone who is interested in quality control.

    Hi Rohit Sh,,
    Thanks for your answer. I have encountered a similar problem. While the font size of the comment created before the update remains unchanged, that of the comment created after the update reduce to about 5pt.
    Then I tried to increase the Font Size from "Commenting" section under Edit->Preferences, the font size of both the old comments and new comments get increased. So, for example, suppose the desired font size is 10pt but the new comment look like 5pt, then when I update its value into 10pt again, nothing happened; when I change its value into 15pt, the old comment become 15pt and the new comment look like around 7-8pt; after this, if I change its value back to 10pt, the old comment would become 10pt as desired but the new comment now would become even smaller than 5pt. In conclusion, I can never make all comment have the consistent font sizes by changing the Font Size from "Commenting" section under Edit->Preferences, as it worked in the earlier version.
    Please fix this. Thank you very much.

  • How can I change the font size on the post of WordPress?

    I have found three websites which address WordPress style sheets:
    Playing With Fonts: http://codex.wordpress.org/Playing_With_…
    Font Size and Color: http://en.support.wordpress.com/editors/…
    How to Change Font Size In Wordpress: http://www.ehow.com/how_5469172_change-f…
    Here are the instructions from the third website above:
    Things You'll Need:
    Site designed in Wordpress
    Administrator access
    Step 1
    First, to change the font size on a Wordpress site you need to log into the site as administrator. If you do not know how to reach the login page, simply add "/wp-login.php" after the "www.url.com" address. Then login using the admin sign in.
    Step 2
    Next, get to the Wordpress file editor by going to Appearance->Editor.
    Step 3
    Once in Editor, identify the Stylesheet file (style.css) and click to edit. This is usually located on the right hand side under the "Styles" heading.
    Step 4
    Once in the style.css file, you want to conduct a search for "fontsize". This parameter is used throughout the style.css file and is the parameter used to control font size. Next to "fontsize" you will see something like "16px". Simply increase or decrease the "16" to change font size. The tricky part is to figure out which "fontsize" you want to edit.
    The way to do this is to first look at the heading it is under. If it is under "comment-template", it is obviously related to either the font size of the comments themselves or perhaps the comment form or the date/time stamp of the comment.
    It may take a little trial and error to find the right "fontsize" to modify. Simply modify the one you think is correct and in a separate window, reload the page with the font you are looking to modify. If it did not change, undo the previous edit and try a different "fontsize".
    I went to the Dashboard and clicked on the “Appearance” icon on the left-hand side, and then clicked on editor. I clicked on Stylesheet (style.css), but I have not been able to find the “fontsize” that would change my post font size. As the author writes: "The tricky part is to figure out which "fontsize" you want to edit." Some of the font sizes are given as a percentage, and I don’t know if these come into question, i.e., if I should try changing one of these to see what happens.
    The end result is that I still have not been able to change my post font size, other than by using the Heading-1-through-6 option, which, I understand, is not the best way to do it.

    From John Waller: “If you're using IE8, hit F12 to launch Developer Tools which give you a point and click method of locating the relevant CSS rule on screen.”
    I have Internet Explorer 8 (IE8) so tried this method.
    This sounded like another promising possibility; however, I have not been able to change the font size in my post using this method.
    I have gone to Dashboard > Posts > Edit > then moused-over my post > clicked on "edit" and then hit F12. An enormous amount (20 pages or more) of CSS appears. I tried picking out the font size that I thought pertains to the post (under Text Area), and I have changed the font size from 13px to 24px; however, I have not been able to “save” the new setting. When I go back to it, it is back to 13px.
    As a result, I have not been able to use a trial-and-error method to establish which font size I must change in order to change the font size of my post.

  • Font size iMovie 6

    Hello folks:
    This is my first post. I'm working on just my second project in iMovie, so I hope I'm not asking something obvious, but I didn't see it in the documentation or in several pages of posts here.
    This is the first time I've experimented with written narration on a series of black screens. I'm trying to create a somber effect with the narrative transitions, but I notice that the fonts seem to be scaled automatically smaller when I write a longer sentence. This makes the text look very inconsistent as it passes.
    Another thing I'm noticing is that in the Centered Title feature where you can stack several lines of text that fade in and out, the first line is always a larger size font than succeeding lines, even though I haven't adjusted font size for succeeding lines.
    If I want to write just one sentence per clip, is there a rule of thumb that I can observe for maximum sentence length that will help ensure consistent font size from one clip to the next? And is there a way to stack sentences in a multi-line Centered Title so that the first line is the same size as the rest of the lines? Anyone else experiencing this problem?
    The font I'm using now is Futura medium. I've tried selecting succeeding lines and moving the font size slider and it doesn't work.
    Thanks for any help provided.
    Rod
    G4   Mac OS X (10.4.4)   800 mhz/1.25 ghz RAM

    I'm not sure what "plist " is, but that seemed to do the trick. I can't thank you enough!!!

  • Web Gallery Template Font Size Adjustment

    When I am in the Web module and using one of the templates (Flash or HTML), I would like to be able to adjust the font size of all the text used for the titles, headings, captions, etc. In general, I find the default font sizes too small, especially on the Flash templates.

    Hi Swapna
    Try following:
    1. Test with standard Survey component. You can do this by removing assignment of enhancement set to a client.
    Use transaction SM30. Open table BSPWDV_EHSET_ASG to remove assignment. Now the standard component should be picked up during survey processing in Web UI.
    2. If the standard survey component is also not showing the note effect then you can check if the note is applied properly. There are some manual steps in the note which are normally overlooked.
    After applying the note the font size from the 'htmlb' tags will overwritten by a fixed font size specified in a css file(htmlb_style.css).
    After Applying the note please verify whether the htmlb_style.css is also imported. This can be done by the following steps
    1.Goto Transaction Se80, and then go to Repository browser.
    2.Select 'BSP application' from dropdown and the application as SVY_H.
    3.Expand the Mime folder. Here the file 'htmlb_style.css' must be present.
    4.Place the cursor on the 'htmlb_style.css' right click and select display from the menu. This would show the file with new font sizes.
    3. There is one more note from where you can download the latest css file(htmlb_style.css).
    Note 1356414 - Text gets cut off for long surveys
    Hope this helps
    Rupesh Patil

  • Printer font size, prints too small to read

    I want my 7520 printer to print in a larger font. help

    Hi,
    Normally we increase/decrease font size from applications. Which application or which browser do you use to print ?
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to Change Report Font Size in 11i

    Hi,
    Please let me know how to change font size of an existing report in Quick steps.
    Basically the printed report font size is too small. We change the font size from the printer but still it dose not change.
    We have 11i on Unix Server and a dot matrix printer.
    The report is character based and Report Builder shows Courier 10, print style is Portrait. We need it to be 12-14.
    Thanks!

    Hi,
    Refer to the following document.
    Note: 467568.1 - How To Change The Font, Size, or Page Layout of Standard and FSG Reports
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=467568.1
    Regards,
    Hussein

  • Controlling Font Size in Character Mode Reports

    Hi,
    The default Font size of Character mode Reports is 12. I want to reduce the font size from 12 to 8 .How to go about it.The printer codes mentioned in reports Documentation only talk about other attributes like Bold etc.Also the documentation gave the impression that The fontsize can only be controlled for Bitmap reports.Kindly help me out.
    Thanks in advance.
    Regards
    Deepak

    Deepak:
    The font size for character reports is based in the printer size characters, there are: 10, 12 15 20 etc.
    I believe that you want is a smaller character, try to configure your printer with condensed font in the panel of the printer, if you can't do that, try send printer codes to the printer via printer definition file.
    For the printer code that you need, check the user's manual of the printer to know what code is that you need.
    Look for commands in your manual
    Good luck.
    Ennio

  • Change Font / size WEBUTIL function

    Hi
    I have e question about the function
    WEBUTIL_FILE.FILE_SELECTION_DIALOG.
    some customers have approached us that the font size is too small.
    Is it possible to change the font or the font size of the listed Files ?
    And is it possible too use it on the client not on the AS ?
    Does anyone have an idea.
    Env:
    Forms/AS 10.1.2.3 on Windows Clients, Java 1.6
    Thx
    Alfred

    I found some proprrties files in the directory. C:\Programme\Java\jre6\lib Can I make same helpful changes there ? >
    As I mentioned, these settings are inherited from the OS. I don't believe there is a setting in Java you can change that will affect this.
    where I could make these settings on the client OS ?For Windows, you can change the display settings through the "Display" Control Panel applet or right-click the desktop and select display. You can change the Font Size from the Appearance tab and the screen resolution in the Settings tab.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Jun 8, 2011 8:10 AM

  • Font size on home screen (Dimension Today theme)

    Is there any way to INCREASE the font size?
    Ness

    Theme dictates default the font types to be displayed in different scenario. If you change the font size from Options --> Screen/Keybord it will affect everything but on home screen it will remain as it is and it can't be changed.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

Maybe you are looking for

  • Japense language getting displayed in master data not in query

    Hi all, I am trying to load the asset master from ecc and bw which both are unicode. But then the master data gets loaded perfectly with japanese in the master with    asset   language   description 1. 300001   en           加硫 2. 300002   ja         

  • Nokia N86

    Hello, I have a problem with my nokia N86. All the time from the moment i bought it till now the sms indicator in the right upper side of the display is on. I have deleted all my sms, but i cant deactivate it. Also i have one question. Is it possible

  • Is sg 200-50 interface completely compatible with any particular browser?

    Is there a recommended browser for this switchbox?  I have the latest versions of IE, Google Chrome and Firefox.  The results I get trying to use them is as follows: 1.  IE 11:  Can log in, but text is missing all over the place. 2.  Firefox:  Cannot

  • Access and Field Blob

    I'm trying to retrieve data from Blob Field (in DB Access) and save the value in a file, but the size of extracted file is double of Blob content. I try to use class inputstream outputstream readers and writers, but it does not work Why?? Urgent !!!!

  • SRP521W Administration - Missing Menu Options.

    Hi Second post, I have a new SRP 527W, I've run through the initial config and am looking at the features available, in comparison the the PDF Admin Guide I seem to have a number of options missing from the menu. My router only shows Time setup & Swi