Set font to bold

Dear all,
Can I set a font to bold in ABAP Report if don't using SAP Script?
Thanks you
John

You can have colors set, and intensified but no BOLD in reports.
Eg:
1.FORMAT INTENSIFIED INPUT.
WRITE 5 'JOHN'.
FORMAT INPUT OFF.
2. Addition 1
... COLOR n [ON] or ...COLOR OFF
Color of line background . n can have the following values:
OFF or COL_BACKGROUND Background
1 or COL_HEADING Headers (grayish blue)
2 or COL_NORMAL List body (bright gray)
3 or COL_TOTAL Totals (yellow)
4 or COL_KEY Key columns (bluish green)
5 or COL_POSITIVE Positive threshold value(green)
6 or COL_NEGATIVE Negative threshold value (red)
7 or COL_GROUP Control levels (violet)
Reward me if its helpful.
Regards
Ravi

Similar Messages

  • Explorer ignores font-weight:bold

    Hello,
    I can't solve this problem: when I set font-weight: bold on my CSS to ul#nav li#home a, Internet Explorer doesn't show me the bold style, while Firefox does.
    Thanks!
    Daniela

    The fonts you can safely use on your web page (without taking special action) are pretty limited, since you can only be sure that your visitor has a very limited set of fonts. If you use a font that your visitor doesn't have installed, then they will not see your font. Instead they will see a system default font. That's probably not what you intended. Google "web safe fonts" to read more about this.
    If you have this in your code -
    <li id="home"><a href="whatever.html">Whatever</a></li>
    Then the CSS necessary to make that particular link appear bold is this -
    li#home a { font-weight:bold }
    If you have done this, and you are not seeing a bold font, then either you entered to code incorrectly, or there is some other CSS rule that is taking priority over this one. We can only know if that is the case by looking at your code/page.

  • File, Send link doesn't open a new email. Using Firefox 11.0. Outlook 2010 is the Mailto default and W7 default email program. On the About:config page network.protocol-handler.external.mailto is set to regular font (not bold) "default Boolean true".

    File, Send link doesn’t open a new email. Running Firefox 11.0. Outlook 2010 is the Mailto default and the W7 default email program. On the About:config page, network.protocol-handler.external.mailto is set to regular font (not bold) “default Boolean true”.

    I assume you have tried toggling the setting in Firefox between Outlook and, say, Gmail:
    orange Firefox button ''or'' classic Tools menu > Options > Applications
    In the search box, type or paste '''mailto''' and pause for the list to filter.
    Change the setting and OK to save it, then return to the dialog, change back, and OK again.
    You also might want to toggle the setting at the OS level between Microsoft Outlook and the native Windows Mail client in a similar fashion. In Windows XP you could use IE's Options dialog, Programs tab, for this, but I'm not sure in Windows 7.
    Since one possibility is a problem in your Firefox settings (including the possibility of interfering add-ons), and another is a problem at the Windows level (e.g., Registry settings), it would be useful to try to identify which one it is. One quick way to distinguish is to create a new Firefox profile. It will start up with all factory settings. You can switch back to your existing profile after testing.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    After closing Firefox, start up again in the Profile Manager as described in this article: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
    With the new profile, can Firefox successfully create a message in Outlook?

  • Setting Font Color and Bold Property in ALV Grid

    I have a requirement to set the font in particular ALV Cells  in red color.
    Also this font (text) has to be set to Bold.
    I know how to set cell coloring in ALV Grid, but have no idea regarding how to set font color.
    Could please give me an idea/code segment/suggestion.
    Thank You!

    Please refer this post
    Coloring of ROWS in ALV tree

  • How can I fix my default font in bold face setting? [email address]

    On previous version of Mozilla Firefox I was able to set my default type face in bold; seems the updated Mozilla Firefox does not permit this (although the largest two fonts 24 and 36 are bold; but they are bigger than I want to use--18 size.
    =====Your email address was removed by moderator Andrew(feer56) in order to protect you privacy and security=====
    <!-- [email protected] -->

    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/

  • I have Firefox 9.0.1, and a few days ago my font became Bold, I am using Times New Roman, this seems to be also the case in IE, but the Chrome is not affected, also the fonts in my Word are fine, how can I fix this problem? Thanks!

    Firefox 9.0.1,
    When i write in the search box on Google the font is bold and on some website it is bold also in the gmail but on other sites it is fine.
    Please let me know how can I fix this.

    So, you do not see any fonts bold that shouldn't be bold?
    What are your current default font settings?
    If you have increased the minimum font size then try the default setting "none" as a (too) high value can cause issues.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    *https://support.mozilla.org/kb/Changing+fonts+and+colors
    It is better not to increase the minimum font size in case you need a larger font, but use an extension to set the default page zoom to prevent issues with overlapping text.

  • How to stop size of JTextField from changing when I change font to bold

    I'm working on a Sudoku solver for a CS project. I've got JTextFields for the input. I want to bold the entries of the begining puzzle, like they are in the magazines. When I set the font to bold, it changes the size of the text field. I'm using the gridbaglayout and have tried everything to set in stone the size of a text field, but nothing seems to work. I've set the maximum, minimum size, the setSize method, as well as setting the prefered size. But no matter, when I change the font from plain to bold, the box grows in size. How do I prevent this from happening. I can post my gui code if it would help.
    Here is a link to my grid, with the upper left square having bold text:
    http://12.227.129.113/CS486/Project4/Project4.html

    add them to panel/s set as a gridlayout 9 x 9, or (3 x 3) x (3 x 3)
    simple demo of a 9 x 9
    import java.awt.*;
    import javax.swing.*;
    class Testing extends JFrame
      JTextField[] tf = new JTextField[81];
      public Testing()
        setLocation(200,100);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel p = new JPanel(new GridLayout(9,9,5,5));
        for(int x = 0, y = tf.length; x < y; x++)
          tf[x] = new JTextField(2);
          tf[x].setHorizontalAlignment(JTextField.CENTER);
          p.add(tf[x]);
        tf[0].setFont(tf[0].getFont().deriveFont(Font.BOLD));
        tf[0].setText("9");
        tf[1].setText("3");
        tf[66].setFont(tf[66].getFont().deriveFont(Font.BOLD));
        tf[66].setText("9");
        getContentPane().add(p);
        pack();
      public static void main(String[] args){new Testing().setVisible(true);}
    }

  • When composing new email (gmail) tool bar showing fonts, colors, bold, italics, underline, etc. is missing? When using Internet Explorer the bar is there.

    When using Firefox, the tool bar above the "compose mail" window is missing. I cannot change fonts, use bold, italics, underline, change colors, align margins, etc. When using Internet Explorer the bar IS there but I prefer Firefox, as it is much faster. My operating system is Vista.

    Thanks Tony T1, I have tried using the Mail -> Format drop downs...
    ... and using the format toolbar...
    ... and in both cases, Bold and Italic is greyed out... (bit hard to see in the second screenshot, but it is, honest!)
    The mail message is def set as Rich Text, which you can see in the first screenshot, as the option to Make Plain Text is there...

  • Can't apply -fx-font-weight: bold;

    Hi. I'm trying to apply this style to Labels :
    .label {
    -fx-text-fill: gray;
    -fx-font-weight: bold;
    The gray fill is ok , but bold weight doesn't work.
    I'm using MacOS JavaFX 2.1 b17.
    Am i doing something wrong ?
    thanks
    Edited by: mschoenfelder on 2012-03-22 11:27

    I can't reproduce this, the -fx-font-weight:bold style works fine for me when set either in code via setStyle or in the exact same external stylesheet you supplied (WinXPsp3, JavaFX 2.1b17, JDK7u4ea).
    My guess is either:
    1. It is a Mac specific bug.
    2. The default font used by JavaFX on the Mac does not support bold (seems really unlikely).
    3. You are not copying the correct version of your stylesheet to the binary output directory you are running the application from (most likely).
    4. You are not correctly loading the required stylesheet.
    5. You are otherwise overwriting the style somewhere else.

  • Convert the Regular font to Bold

    When i used the resident cartridges lexjapan or lexkorea the bold option is not available. So i used the .L4 files of lexjapan/lexkorea, renamed them (lexjapan(bold)) and set the Bold property to 1 and selected this cartridge in the presentment along with lexjapan.
    Now the bold option is enabled but there is no difference between the regular font and bold font.
    I think this is because though the property is changed the fontwidths are not changed in the .L4 file.
    Can anyone please tell me how can i set the font to bold for fonts where the bold propery is not set.

    When i used the resident cartridges lexjapan or lexkorea the bold option is not available. So i used the .L4 files of lexjapan/lexkorea, renamed them (lexjapan(bold)) and set the Bold property to 1 and selected this cartridge in the presentment along with lexjapan.
    Now the bold option is enabled but there is no difference between the regular font and bold font.
    I think this is because though the property is changed the fontwidths are not changed in the .L4 file.
    Can anyone please tell me how can i set the font to bold for fonts where the bold propery is not set.

  • How to set font for  JOptionPane.showMessageDialog() ?

    Hi,
    I want to set font for JOptionPane.showMessageDialog(). I have tried with following but it did not worked.
    javax.swing.UIManager.put("JOptionPane.font", "Verdana"); Do any one have idea how to do this. Your suggestion would be helpfull to me.
    Thank you.

    Then you'll have to loop over the components in the JOptionPane and setFont for each JButton. My SwingUtils class (search the net using Darryl SwingUtils, I can't give you a link as it's blocked from my office) can make this easier.
    Sample code:import darrylbu.util.SwingUtils;
    import java.awt.Font;
    import javax.swing.*;
    import javax.swing.plaf.FontUIResource;
    public class OptionPaneFonts {
       public static void main(String[] args) {
          UIManager.put("OptionPane.messageFont", new FontUIResource(new Font(
                  "Verdana", Font.BOLD, 32)));
          SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
                new OptionPaneFonts().makeUI();
       public void makeUI() {
          JOptionPane pane = new JOptionPane("So it's a date?",
                  JOptionPane.QUESTION_MESSAGE,
                  JOptionPane.YES_NO_CANCEL_OPTION,
                  UIManager.getIcon("OptionPane.questionIcon"),
                  new String[]{"Okey-dokey", "Not on your life!",
                     "Let me think about it"
                  }, null);
          for (JButton button : SwingUtils.getDescendantsOfType(JButton.class, pane)) {
             button.setFont(new Font("Tahoma", Font.ITALIC, 18));
          JDialog dialog = new JDialog((JWindow) null);
          dialog.setModal(true);
          dialog.add(pane);
          dialog.pack();
          dialog.setLocationRelativeTo(null);
          dialog.setVisible(true);
    }db
    Edited by: DarrylBurke -- shortened the code

  • Error " Adobe Reader - cannot extract the embedded font 'Ariel Bold "

    Hi gurus!
    I have created smartform for pdf invoice via mail to user id. when that invoice send to user id . PDF file is getting a popup -" Adobe Reader - cannot extract the embedded font 'Ariel Bold . Some characters many not display or print correctly ".
    I want to remove this unwanted popup. please provide any possible solutions.
    regards,
    Ravi

    Hi ravindra, what i can suggest you is to set a breakpoint just before ur cursor goes into the pdf part and just comment the part when it comes to the popup. its very easy and the best way to do it.
    Cheers

  • Understanding this message panel with the set font

    heyall, can someone explain to me how this messagepanel class works with setNewFont class, I cannot understand the correlation in the below lines?? i.e. there is no getFont class in the messagepanel so why use it?what does it do?
    //Set font for the message
            Font font = messagePanel.getFont();
            messagePanel.setFont(new Font(font.getName(),fontStyle, font.getSize()));
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CheckBoxDemo  extends ButtonDemo{
        //Create three check boxes to control the display of message
        private JCheckBox jchkCentered = new JCheckBox("Centered");
        private JCheckBox jchkBold = new JCheckBox("Bold");
        private JCheckBox jchkItalic = new JCheckBox("Italic");
        public static void main(String[]args){
            CheckBoxDemo frame = new CheckBoxDemo();
            frame.setTitle("CheckBoxDemo");
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500,200);
            frame.setVisible(true);
        public CheckBoxDemo() {
            //Set mnemonic keys
            jchkCentered.setMnemonic('C');
            jchkBold.setMnemonic('B');
            jchkItalic.setMnemonic('I');
            //Create a new panel to hold check boxes
            JPanel jpCheckBoxes = new JPanel();
            jpCheckBoxes.setLayout(new GridLayout(3,1));
            jpCheckBoxes.add(jchkCentered);
            jpCheckBoxes.add(jchkBold);
            jpCheckBoxes.add(jchkItalic);
            add(jpCheckBoxes,BorderLayout.EAST);
            //Registar listeners with checkboxes
            jchkCentered.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    messagePanel.setCentered(jchkCentered.isSelected());
                    jchkCentered.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    setNewFont();
                    jchkCentered.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    setNewFont();
        private void setNewFont() {
            int fontStyle = Font.PLAIN;
            fontStyle += (jchkBold.isSelected() ? Font.BOLD : Font.PLAIN);
            fontStyle += (jchkItalic.isSelected() ? Font.BOLD : Font.PLAIN);
            //Set font for the message
            Font font = messagePanel.getFont();
            messagePanel.setFont(new Font(font.getName(),fontStyle, font.getSize()));
    import java.awt.FontMetrics;
      import java.awt.Dimension;
      import java.awt.Graphics;
      import javax.swing.JPanel;
      public class MessagePanel extends JPanel{
        /** The message to be displayed */
        private String message = "Welcome to Java";
        /** The x coordinate where the message is displayed */
        private int xCoordinate = 20;
        /** The y coordinate where the message is displayed */
        private int yCoordinate = 20;
        /** Indicate whether the message is displayed in the center */
        private boolean centered;
        /** The interval for moving the message horizontally and vertically */
        private int interval = 10;
        /** Construct with default properties */
      //  public MessagePanel() {
        /** Construct a message panel with a specified message */
        public MessagePanel(String message) {
          this.message = message;
        /** Return message */
        public String getMessage() {
          return message;
        /** Set a new message */
        public void setMessage(String message) {
          this.message = message;
          repaint();
        /** Return xCoordinator */
        public int getXCoordinate() {
          return xCoordinate;
        /** Set a new xCoordinator */
        public void setXCoordinate(int x) {
          this.xCoordinate = x;
          repaint();
        /** Return yCoordinator */
        public int getYCoordinate() {
          return yCoordinate;
        /** Set a new yCoordinator */
        public void setYCoordinate(int y) {
          this.yCoordinate = y;
          repaint();
       /** Return centered */
        public boolean isCentered() {
          return centered;
        /** Set a new centered */
        public void setCentered(boolean centered) {
          this.centered = centered;
          repaint();
        /** Return interval */
        public int getInterval() {
          return interval;
        /** Set a new interval */
        public void setInterval(int interval) {
          this.interval = interval;
          repaint();
        /** Paint the message */
        protected void paintComponent(Graphics g) {
          super.paintComponent(g);
          if (centered) {
            // Get font metrics for the current font
            FontMetrics fm = g.getFontMetrics();
            // Find the center location to display
            int stringWidth = fm.stringWidth(message);
            int stringAscent = fm.getAscent();
            // Get the position of the leftmost character in the baseline
            xCoordinate = getWidth() / 2 - stringWidth / 2;
            yCoordinate = getHeight() / 2 + stringAscent / 2;
          g.drawString(message, xCoordinate, yCoordinate);
        /** Move the message left */
        public void moveLeft() {
          xCoordinate -= interval;
          repaint();
        /** Move the message right */
        public void moveRight() {
          xCoordinate += interval;
          repaint();
        /** Move the message up */
        public void moveUp() {
          yCoordinate -= interval;
          repaint();
        /** Move the message down */
        public void moveDown() {
         yCoordinate += interval;
          repaint();
        /** Override get method for preferredSize */
        public Dimension getPreferredSize() {
          return new Dimension(200, 30);
      }

    ah right so because there is an import fontmetrics api attached to that is a getFont method......i see now

  • How do I change the font to bold for a label in a check box item

    I am having no success with this and my internet searches throw me all over the place with no success. Can someone please explain how to change fonts for items in the most simple and basic terms. Thanks

    Use HTML Form Element Attributes and type there something like style="font-weight:bold" or Form Element Option Attributes and class="fielddatabold". See my demo app for that:
    https://apex.oracle.com/pls/apex/f?p=31517:1
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Ssrs 2008 r2 writingmode=rotate270 font is bold on report server

    In a ssrs 2008 r2 report, I am using writingmode=rotate270 to change the direction of header columns for detailed data on the SSRS report. The font in visual studio is 'light'. However when the report is deployed to the report server, the font weight is
    bold.
    Thus can you tell me if there is a workaround to make the font not bold when it is executed on the report server? If so, can you tell me how to solve the font problem so the font is not bold when writingmode=rotate270 when executed on the report server?

    Hi Wendy,
    I am able to reproduce the issue in both SQL Server 2008 R2 RTM Reporting Services and the latest version of SQL Server 2008 R2 Reporting Services (SQL Server 2008 R2 SP2 CU10, Build number 10.50.4297). In addition, based on my test, it is fixed in SQL Server
    2012 SP1 Reporting Services.
    To work around this issue, you can place images in the column header cells and make the rotation of the text in the images. Besides, I would suggest you submitting a wish at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

Maybe you are looking for