Embed and Display different font styles

Let's say I have a text field with some HTML formatted text inside.
txt_field.htmlText = "This is <b>sample</b> text."
how do I embed my fonts so it'll show both the regular and the bold version of the font?
It just works on my Mac but when I look at it on a PC it doesn't even display the right font.
Instead of the bold version of the font, how could I use the black version of the font instead?
Thanks
Julie

unfortunately that is not applicable in this case.
autofill only works if you have every single letter that might be used in the dynamic field already in there, since the field is filled with text dynamically I'd have to put every letter of the alphabet in there to cover all the possibilities, and then I still don't have the bold versions of the letters embedded :-(
Looks like have to make a textfield for each font version and embed each one separately. I'll try that next...

Similar Messages

  • Apply different font styles in single text frame

    hi all
    how can i apply different font styles in a single text frame using indesign script ?
    for example :
    "dasdnasndasndlasndnasdlasdasdas"
    may i know is it possible to do that and how to do that ?
    thanks

    You can set (as well as read) every single property of any text range with scripts. This is javascript; it assumes you text cursor is inside a frame with some text.
    * Setting some specific characters to a color:
    app.selection[0].parentStory.characters.itemByRange(5,10).fillColor = "Red";
    * Change the font of words:
    app.selection[0].parentStory.words[3].appliedFont = "Arial\tBold";
    * .. or just the style:
    app.selection[0].parentStory.lines[2].fontStyle = "Italic";
    * .. or any other attribute (this one requires you to have at least 5 characters selected):
    app.selection[0].characters[5].underline = true;
    Of course these operations are not limited to something you select; they work the same with any text frames you can refer to.
    app.activeDocument.textFrames[1].paragraphs[2].appliedCharacterStyle = "charstyle";

  • Fuzzy edges and display of font, graphics and pics using Elements 12 on Macbook Pro retina 13"

    I recently bought a Macbook Pro 13" retina display. The edges and display of font, graphics and pics in Elements12 are fuzzy. They werent like that on my old macbook that didnt have retina display.
    David

    Neither Photoshop Elements nor Premiere Elements support the retina display capabilities. There are a couple of feature requests for support to be added to Photoshop Elements but I don't find any for Premiere elements. You might care to open one at http://feedback.photoshop.com.
    Here are the PSE one I found:
    http://feedback.photoshop.com/photoshop_family/topics/please_add_retina_support_to_photosh op_elements_11
    http://feedback.photoshop.com/photoshop_family/topics/photoshop_elements_12_add_retina_dis play_support_for_macbook_pro
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • How to display different fonts in same indicator in labVIEW

    hi 
       i want to know how to display different fonts in same string indicator at run time in labVIEW 8.2
    Regards
    Abhishek Verma

    Hi ABHI VERMA,
    see this http://digital.ni.com/public.nsf/allkb/6BD344ACA4DEE20A8625692700737E16 
    Mike

  • How to use different font styles in the same boolean text?

    Hi all,
    As reported here http://digital.ni.com/public.nsf/allkb/6BD344ACA4DEE20A8625692700737E16, it is possible to change font color, size or other font properties of a subtext in a string indicator. This can be applied to a caption too.
    I'd like to apply this properties to a boolean text but it does not work. The boolean control has the Text.selectionStart and End property node but it does not appear to function.
    Can you help me?
    Thanks all

    This is a bug in the development environment (I think it showed up around LV8).
    There's a workaround, but it seems to work intermittently: Place some floating text on your front panel, then edit it's font styles.  Select and copy the floating text.  Select the boolean text (double click on it).  Paste.

  • Is it possible to create different font styles within the same text field?

    The form I am creating is getting really complex because when different fields require different font treatments (bold, italic, different font size, different font) I have to create a seperate text box and get it to align with the others. This wouldn't be an issue in most cases but this form is really detailed and has many text boxes. Before I stuggle too much longer on it, I thought I would check and see if there is a way to make them all in the same text field. If not, perhaps I am trying to use Acrobat for something it is not meant for. Any recommendations on other programs I could use? Thanks

    Thank you try76. I'm not sure if I did it correctly. As soon as I tick the Rich Text Formatting box it automatically changes the appearance of the text in the field (Helvetica Light to something like Helvetica Heavy) I can't seem to get the font back to Helvetica light or change the font size while the Rich Text Formatting box is ticked.

  • Scrolling selected text with Indesign CS6 to show different font style

    Hi, I recently found I could highlight a paragraph and using font character style I could scroll through fonts changing whole paragraphs, I can't remember how I did this, I know it's a new feature with CC, I'm on CS6

    Select the text you want to change. Click your cursor after the font name in the field. Press the up or down arrows, and you can see the selected text change.

  • Multiline display dialog + font style control?

    I have an Applescript application I'm building in Xcode that needs to present multiple lines of information in a sheet. For some reason, I'm only able to get three lines -- how do I get a sheet to display more than three lines?
    Current code:
    display dialog myVariableContainingMuchoLines attached to window of myWindow
    Also, I'd like to format the result -- is it possible to control the text size and font in dialog boxes?
    Thanks!

    You don't have any formatting options when using 'display dialog'. It's meant as a simple, one-line, easy-to-use command.
    If you want something more sophisticated then you need to create your own window. Since you're already in XCode this is pretty easy - just use Interface Builder to create your dialog and show it like you would any other window.

  • Google Chrome PDF viewer displays different fonts

    When I design a document in either Indesign, Illustrator, or Photoshop I use many custom fonts. I export my PDF's as optimized as possible for web viewing from the layout program itself.
    I don't stop there. I open my exported PDF in Acrobat and optimize the file further using the Optimize PDF tool. I flatten everything out, but I keep my fonts embedded. When I drag and drop the file in Google Chrome or Firefox the fonts change. I get some cheap looking serif font instead of my slab serif. I've tried unembedding the font as well and I get the same result.
    What gives?
    I just want to make sure this isn't something I'm doing wrong. What's weird is it happens in Firefox/Chrome, but it doesn't happen in Safari.
    Firefox/Chrome PDF viewer:
    Safari PDF viewer:

    Interesting.
    However, as what each of these browsers does to render a PDF is dictated by the respective coding discussions of that would have to take place each browsers "developer space".
    Nothing there is controlled by Adobe eh.
    Be well...

  • Google Chrome displays different fonts

    When I design a document in either Indesign, Illustrator, or Photoshop I use many custom fonts. I export my PDF's as optimized as possible for web viewing from the layout program itself.
    I don't stop there. I open my exported PDF in Acrobat and optimize the file further using the Optimize PDF tool. I flatten everything out, but I keep my fonts embedded. When I drag and drop the file in Google Chrome or Firefox the fonts change. I get some cheap looking serif font instead of my slab serif. I've tried unembedding the font as well and I get the same result.
    What gives?
    I just want to make sure this isn't something I'm doing wrong. What's weird is it happens in Firefox/Chrome, but it doesn't happen in Safari.
    Firefox/Chrome PDF viewer:
    Safari PDF viewer:

    Interesting.
    However, as what each of these browsers does to render a PDF is dictated by the respective coding discussions of that would have to take place each browsers "developer space".
    Nothing there is controlled by Adobe eh.
    Be well...

  • font color="2200cc" Apple USB Power Supply and Display Flicker /font

    When charging my iPod touch using my Apple iPod Mains/USB charger the screen flickers gently throughout the charge. I've tried this on two entirely seperate power supplies (one in Wiltshire, one in Gloucestershire) and both are the same. I don't have immediate access to a different Mains/USB charger to try that though. 
    There is never any flickering when charging via my iMac and never noticed any issues charging our Nanos on the Apple Mains/USB charger.
    Has anyone else noticed this or am I alone?
    cheers
    mrtotes

    I'm living in the US and have the exact same issue. Regardless of the power source and cable (I charge through iMac G5, Macbook, and car charger with three different cables), the same problem is observed. flickering is evident when Safari is loading page when brightness is at the lowest with or without being connected via cable.
    However, I sometimes can't replicate the problem when not on cable. I'm trying to find what's causing it but not clear at this point. I talked to Apple support but the guy on the phone couldn't figure out what's causing it and recommended me to go to see genius.
    I hope this is a software issue rather than hardware.

  • Can't test actual url and displays differently in ie7

    Hi, I am having a couple of problems in testing the current page I am working on in internet explorer. I am working using a Macbook Pro with OS X Lion.
    1. I am unable to test / preview the actual url using browser-lab, and all I can see are blank black or white pages. It is a public url and the website is built in Drupal. I am able to view another Drupal site I had created without problem. This only happens when I am testing using internet explorer, and for instance I can see the page fine when I test using Chrome 13.0 for windows. The url is http://ampleo.mx
    2. The second problem is that when I have been testing by previewing local source code using Firefox firebug, pretty much all of the content appears squashed to the left. However when I have viewed the page in a real version of IE 7 or in any Mac Browser, then I am not seeing the same behavior and the content is displayed normally horizontally.
    I am still quite new to web design so I would appreciate any thoughts on whether this is a problem with my code, or just with the way browserlab interprets pages.
    Thanks
    Simon

    I can reproduce #1. I'm not sure what's going on but we'll look into it in the new year.
    I'm not sure about #2. We've seen similar problems due to our testing at 1024x768 vs most people having greater resolutions. Can you drop your resolution to 1024x768, try it in your local browser, and if you don't see any issue with your page, attach a screenshot here?
    Thanks,
    Mark

  • CS2 and CS3 HATE more than 4-5 font styles......

    Running Mac OSX 10.4.11 with dual 2 GHz Power PC G5, 1 GB Ram.
    Both CS2 and CS3 start acting R E A L SSSSLLOOOWW when I'm using more than 4-5 font styles on a page, like when creating a new logo, and typing the same name in different font styles.... At that point every action takes a while, and I find myself waiting for the computer to react, while I can hear the hard drive crunching...
    This happens ONLY when I have several font styles opened.... Once I outline them all, the speed is back to normal....
    As my primary Scratch Disk I have my hard drive, which has more than 70 GB available free disk. Secondary Scratch Disk is set for NONE.
    What gives?????

    The problem more then likely is 1 GB of RAM running on 10.4.11 which needs almost that amount to run by itself.
    The problem with the 150 GB drive is not so much that it is small by todays standards it is probably an older hard drive and therefore probably has a 8MB buffer making itwell slow at transferring files such as to a scratch disk which is also part of the problem as it is also probably the scratch disk and now you have these two things going against you and slowing the whole thing down each time you do anything that caches.
    Like loading a applying styles to fonts.
    I would suggest more then 4 GB of RAM and another hard drive partitioned so one partition can be used as a dedicated scratch.
    Also you might look, to see if I am correct, by means of the About this mac under the Apple menu and look at the hard drives buffer if 8MB then you might want to replace it
    with a hard drive that is much larger and has a 32 MB buffer.
    Just some things to consider you are a bit behind the times.

  • How to change the font style

    Hi All
    I am able to dispaly the content of a .txt file on the screen using inline frames(11g webcenter application using content repository- file system) . But 'm able to add styles to it like displaying it in bold letters. Any help on how to add templates
    Ex: Consider a file Sample.txt file contains the text – “Hello World. Welcome”
    • Display “Hello World” in bold and display “Welcome” underlined
    Link which i followed http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10148/jpsdg_content.htm
    8.3.1 How to Add Content as an ADF Inline Frame
    code
    <af:inlineFrame id="inlineFrame1"
    source="/content/conn/Test/path/test1/Test.txt"
    inlineStyle="height:100px; color:Aqua;"
    styleClass="AFStretchWidth">
    </af:inlineFrame>
    Thanks,
    Tim.

    Hi Romeo,
    I got your point and class I require to apply is as below:
    .ms-contactcardtext3 {
        font-family:
    Arial !important;
        font-style: italic !important;
    Thank you for your trick :) 
    But its getting apply to title as well as to Department - as above class is same for both fields , while I require to change the style only for the department.
    Any suggestions ? I have changed the same using Designer which works as per the need , however - I dont want to use SPD Tool !!!
    Bottom line : I Require different font style in Title and Department without use of SPD.
    Any suggestions/idea ?
    Thanks and Regards,
    Dipti Chhatrapati

  • How to change the font style for user profile information in My Profile page?

    Hello,
    In my profile page, user information is getting display as below:
    Name
    Title
    Department --> Would you please let me know how can I change style for Department ( Information Technologies) Attribute in this section ?
    Thanks and Regards,
    Dipti Chhatrapati

    Hi Romeo,
    I got your point and class I require to apply is as below:
    .ms-contactcardtext3 {
        font-family:
    Arial !important;
        font-style: italic !important;
    Thank you for your trick :) 
    But its getting apply to title as well as to Department - as above class is same for both fields , while I require to change the style only for the department.
    Any suggestions ? I have changed the same using Designer which works as per the need , however - I dont want to use SPD Tool !!!
    Bottom line : I Require different font style in Title and Department without use of SPD.
    Any suggestions/idea ?
    Thanks and Regards,
    Dipti Chhatrapati

Maybe you are looking for

  • Apple iPhone Case Program (US to Singapore)

    I have ordered a case from Apple via the Case Program for my iPhone 4. My iTunes account is linked to my old US address. However, I have recently moved back to Singapore and would like to request for the case to be sent to Singapore instead. Is there

  • Thumbnails & Preview filenames do not match Master filename

    Hi - can't find any threads regarding this... Basic problem is that Aperture is not renaming the Preview & Thumbnail filenames when it renames images on import - anyone else experiencing this problem? I have a managed Aperture Library (2.1.3). I rena

  • DLL files adding while web service deployement

    hi, I created a webservice out of a java file which uses custom C dll files. I have deployed this webservice on the applicaiton server but it doesnot seem to have the dll in the war file. Could anyone please seuuget what settings i have to make so th

  • Question about Cluster/DSync/Load Balance

    According to the admin doc of iplanet, primary server is the "manager" for data sync, is there any impact on load balance when the iAS run as primary or backup? will the primary kxs get the request first and do dispatching? Thanks. Heng

  • SQL JDBC question

    I am using the JDBC-ODBC bridge driver for my DB query app. I am trying to run an SQL statement in my program which has a ' ( Apostrophe ) in it. ie String query = "select * from MYTABLE where OWNER = \'Joe/'s Soap\' " A JDBC site tells me to escape