Changing font color in Text Box tool in Acrobat 9.0
The default color is coming out red but I can't figure out how to change it to black..anyone know??
sorry folks, found my answer..
if anyone else has the problem - select the text, go to View - then toolbars - the the properties bar and the font is in that bar...
Similar Messages
-
How to change the font size of Text box tool ?
How to change the font size of Text box tool ?
I am using Acrobat PDF 6.0
Tools > Advanced Commenting > Text Box Tool
I need to know how to change the font size. The default font size is too big.
let me know
ThanksI do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill
-
How do i change the color of text boxes and the texts that i enter in them?
I recently changed my system's color settings and now the text boxes in Firefox are dark grey. This is fine when the text happens to show up as white, but when it shows up as black, I can't read what I'm typing. (I'm not clear on what makes the difference. The box I'm typing this in now happens to be dark grey with white text.) I've tried playing around with settings within Firefox preferences and in my OS' (Kubuntu) system settings, and haven't yet been able to identify what settings exactly might change this specific aspect.
Two possible ways are available
Set the text with and html text string like "<html><font color-red>" + text + "</font></html>"
or get the cellrenderer, cast to the DefaultCellRenderer and call setForeground or background or implement or your own cellrenderer to do the custom coloring (this could maybe depend on indexes)
ICE -
Here's the scenario. User copies text from black and white document in acrobat 8.2. User then goes and pastes the text into a text box on a different page. When the user leaves the text box, the text all goes to the same color as the text box background and looks like the text has disappeared. The text can then be selected (although you can't see it until you hit ctrl+A or drag mouse). Once the text is selected it can then be changed to a different color and viewed. Although, sometimes the text is now in a different font (Symbol as far as I've seen). The default text color is black. This doesn't happen every time for various text throughout the pdf. It does happen when trying to select the same problematic text. I've tried uninstalling/reinstalling Acrobat and I've been unable to reproduce the problem on two other computers working with the same document. Selecting the text and changing the color is "too much work" for the user and I'd like to find a more permanent solution. Any suggestions please...
sorry folks, found my answer..
if anyone else has the problem - select the text, go to View - then toolbars - the the properties bar and the font is in that bar... -
How to change the color in text box item.
Hi,
There is a text box where i am returing the value using item source SQL and Always replacing.
I have a condition like this if value is > 10 value must appear in red else white.
Eg:
select
case
when TO_NUMBER(:P122_PRJ_SV_PROJECT_USL) > TO_NUMBER(:P122_GSD_SV_PROJECT_USL) then
'<span style="background-color:RED">'|| PO.EV_UCL || '</span>'
else
'<span style="background-color:WHITE">'|| PO.EV_UCL || '</span>'
end
from projects po
this is not working please suggest me how to change.
Thanks
Sudhir.Sudhir
Please repost your source code with {noformat}{noformat} (with the curly brackets and in lower case) above and below it.
Cheers
Ben -
KdeGraphics-Okular - How to change the color of Text Selection tool
Hello All
I'm trying to know how to change/fix the color of the Text Selection Tool (Ctrl + 4). Because when I highlight the text, it's only one color (Dark Blue) that make me could not read clear.
---- My OS Configuration
OS : Arch
DE: LXDE
WM: OpenBoxThe highlight color is determined by the system-wide color scheme that you're using. There's no way to change it only for okular.
-
Change font color shifts text in Acrobat XI PRO
When I go into an acrobat document and try to chnage the font color, it shifts the text and the paragraph it's in. I contacted Adobe about it a few months ago and they told me it was a know bug.
When is it going to be fixed?Since this is a user-to-user forum, we don't have access to that type of information.
-
I have tried everything! How to change the color of text based on value Acrobat 9
How can I change the color of the text to red if the value is "Unacceptable" and leave it green for all other rating values? Where can I put it for it to work? Also, Unacceptable is set to an export value of 0.
var n = +this.getField("NumericSummaryRating").value;
var a = +this.getField("Rating1.0").value;
var b = +this.getField("Rating1.1").value;
var c = +this.getField("Rating1.2").value;
var d = +this.getField("Rating1.3").value;
var e = +this.getField("Rating1.4").value;
if (n == 0) {
event.value = "Not Rated";
} else {
if (a==0 || b==0 || c==0 || d==0 || e==0) {
event.value = "Unacceptable";
else {
if (n>0 && n < 3.0){
event.value = "Unacceptable";
else if (n >= 3.0 && n < 3.6) {
event.value = "Successful";
else if (n >= 3.6 && n < 4.6) {
event.value = "Excellent";
else if (n >= 4.6) {
event.value = "Outstanding";You can add this at the end of the code:
if (event.value=="Unacceptable") event.target.textColor = color.red;
else event.target.textColor = color.green; -
Text Box Tool in Acrobat X?
In previous versions of Acrobat, I created standard text boxes in my forms. I was able to open an existing file, click on the Text Box icon, Ctrl+A, Ctrl+C, and then Ctrl+V into a new document. I can't figure out how to do that in Acrobat X. Can anyone point me int he right direction? Thanks!
I agree with the majority of users that are expressing frustration with the functionality of Acrobat X. It is really hit and miss. The fact that a user has to copy a text box over and over again without being able to use the standard text box or typewriter functions is in a word 'primitive' and Adobe should be ashamed. But when you are the only game in town, you don't have to listen to customers.
What I tried just now was to add text using the Add Text tool ( you know the one that lets you add text easily, but you are left with red text surround by a box as the default ).
I then highlighted the red text in that box.
With the text highlighted, go up to the top tool bar just below the File Edit View Window Help - Bar.
Right click on that tool box and select Properties Bar to launch the Text Box Text Properties.
Now I can use that Text Properties box for any Text that I added.
I have no idea yet how to add that Text Box Text Properties button to the tool bar yet.
I worked for Xerox for 19 years and the original postscript was a brainchild from someone out of PARC and that whole Acrobat insanity is a continuation of great thinking, that most of the time, "just missed the target." The difference is; Acrobat has a monopoly on it - kind of like AutoCAD. And Adobe, unlike Xerox, doesn't care about Customer Satisfaction. -
How Change Font or Font Size in Text Box???
Adobe Acrobat 7
How do I Change the Font or Font Size in Text Box that I have inserted in a previously created .pdf file.
Could not find any info on this in Help file. Thanks for any help.Use the text touchup tool, select the text, and right click to change the properties. If you mean a different type of text box, then look for the same type of changes, but use the same tool you used to create the text.
-
How to change the font size of Text Box Properties Appearance tab into 2 decimal digit.
How to change the font size of Text Box Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.
Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
go to Font
choose desired size and type font,you can choose to make this the default.
Do this with each field.
Or if you have a lot of fields:
while one is selected select all of them
then go to fonts in properties
change Font and size and make default. -
May I know how to change the color of texts inside the indicator box?
Can anyone tell me how to change the color of texts inside the indicator box? I have tried to use property node but not really know how it functions.
In fact, I am writing a program for which the number inside indicator on front panel will show red color if the measured value can't reach the requirement. I am using LabView 6.1 Professional
Thank You for your attention!!!!!!Simply use a property node with "NumText.TextColor" and wire the correct color depending on your test result.
The attached simple example (LV 6.1) lets you change it from the front panel. In your case, you would use your test output instead of a FP switch, of course. Message Edited by altenbach on 05-25-2005 09:05 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
TextColor.vi 18 KB -
Text "disappears" when using text box tool
We are running Adobe Acrobat Standard vers. 7.0.9 inside Thomson Corporation's GoFileRoom vers. 6.0. When using the text box tool to add comments to a pdf, the text within the text box "takes on" the color of the background of the box, making it seem that the text has disappeared. The only way to see the text is to edit the text box and change the font color OR to view the contents of the text box in the Comments section. How do I resolve this? Would appreciate any help.
I am having the same problem. Both with text boxes and text in the actual document. Do you think it is GoFileRoom related? I never made the connection but I wouldn't be surprised. It seems worse when different versions of Adobe are used. Some have ver 7 and other ver 8 but we are all using GFR.
Have you had any help? -
When I receive, reply or compose email. I no longer am able to see or change the color of text. I select to change the text from black to Red (or any other color) and the text just stays black, The color seletor box will show the last select color, but never actually changes the text color in an email. Also in received email, when the sender has indicated their replies to me are in another color, All the text only appears as black. I never had this problem in the past, not sure what has happened. I did restart Thunderbird with add-ons disabled and this did not change the problem.
Hello, maybe the question need to move by a moderator to thunderbird support ?
https://support.mozilla.org/en-US/questions/thunderbird?owner=all
thank you
[moderator note: question thread has been moved from Firefox queue to Thunderbird queue] -
How do I change fonts in a Text field ??
Okay I've tried to implement a JComboBox that allows the user to change fonts in the text field. So far I've tried different methods to do it but to no avail. Could somebodoy here read the programs source code for me and tell me where I went wrong?
/* * My GUI Client */
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import javax.swing.event.*;
//for HTML Headers
import javax.swing.text.StyledEditorKit.*;
import javax.swing.text.html.HTMLEditorKit.*;
import javax.swing.text.html.*;
import javax.swing.event.HyperlinkListener;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkEvent.EventType;
import javax.swing.text.html.HTMLFrameHyperlinkEvent;
//for layout managers
import java.awt.event.*;
//for action and window events
import java.io.*;
import java.net.*;
import java.awt.GraphicsEnvironment;
//for font settings
import java.lang.Integer;
import java.util.Vector;
import java.awt.font.*;
import java.awt.geom.*;
public class guiClient extends JFrame implements ActionListener {
protected static final String textFieldString = "JTextField";
protected static final String loadgraphicString = "LoadGraphic";
protected static final String connectString = "Connect";
static JEditorPane editorPane;
static JPanel layoutPanel = new JPanel(new BorderLayout());
static JPanel controlPanel = new JPanel(new BorderLayout());
static JPanel buttonPanel = new JPanel(new BorderLayout());
static JPanel fontPanel = new JPanel(new BorderLayout());
static PrintStream out;
static DrawPanel dPanel;
static DrawPanel dPButton;
static DrawPanel dFonts;
static DrawControls dControls;
static DrawButtons dButtons;
static String userString;
static String currentFont;
String fontchoice;
String fontlist;
static JTextField userName = new JTextField();
public static JMenuBar menuBar;
private static JButton connectbutton = new JButton("Connect");
static boolean CONNECTFLAG = false;
//create the gui interface
public guiClient() {
super("My Client");
// Create a ComboBox
GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
String envfonts[] = gEnv.getAvailableFontFamilyNames();
Vector vector = new Vector();
for ( int i = 1; i < envfonts.length; i++ ) {
vector.addElement(envfonts);
JComboBox fontlist = new JComboBox (envfonts);
fontlist.setSelectedIndex(0);
fontlist.setEditable(true);
fontlist.addActionListener(this);
fontchoice = envfonts[0];
//Create a regular text field.
JTextField textField = new JTextField(10);
textField.setActionCommand(textFieldString);
textField.addActionListener(this);
//Create an editor pane.
editorPane = new JEditorPane();
editorPane.setContentType("text");
editorPane.setEditable(false);
//set up HTML editor kit
HTMLDocument m_doc = new HTMLDocument();
editorPane.setDocument(m_doc);
HTMLEditorKit hkit = new HTMLEditorKit();
editorPane.setEditorKit( hkit );
editorPane.addHyperlinkListener( new HyperListener());
//Create whiteboard
dPanel = new DrawPanel();
dPButton = new DrawPanel();
dFonts = new DrawPanel();
dControls = new DrawControls(dPanel);
dButtons = new DrawButtons(dPButton);
//JLable fontLab = new JLabel(fontLable);
//fontLab.setText("Fonts");
//Font newFont = getFont().deriveFont(1);
//fontLab.setFont(newFont);
//fontLab.setHorizontalAlignment(JLabel.CENTER);
JPanel whiteboard = new JPanel();
whiteboard.setLayout(new BorderLayout());
whiteboard.setPreferredSize(new Dimension(300,300));
whiteboard.add("Center",dPanel);
whiteboard.add("South",dControls);
whiteboard.add("North",dButtons);
JScrollPane editorScrollPane = new JScrollPane(editorPane);
editorScrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
editorScrollPane.setPreferredSize(new Dimension(250, 145));
editorScrollPane.setMinimumSize(new Dimension(50, 50));
//put everything in a panel
JPanel contentPane = new JPanel();
JPanel fontPane = new JPanel();
contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
//add whiteboard
contentPane.add(whiteboard);
//add editor box
contentPane.add(editorScrollPane);
//add spacer
contentPane.add(Box.createRigidArea(new Dimension(0,5)));
//add textfield
contentPane.add(textField);
//set up layout pane
//layoutPanel.add(GridLayout(2,1),fontLab);
layoutPanel.add( BorderLayout.NORTH, fontlist);
layoutPanel.add(BorderLayout.WEST,new Label("Name: ")); //add a label
layoutPanel.add(BorderLayout.CENTER, userName ); //add textfield for user names
layoutPanel.add(BorderLayout.SOUTH, connectbutton);//add dropdown box for fonts
//fontPane.add(BorderLayout.NORTH,fontlist);
contentPane.add(layoutPanel);
contentPane.add(controlPanel);
contentPane.add(buttonPanel);
//Create the menu bar.
menuBar = new JMenuBar();
setJMenuBar(menuBar);
//Build the first menu.
JMenu menu = new JMenu("File");
menu.setMnemonic(KeyEvent.VK_F);
menuBar.add(menu);
//a group of JMenuItems
JMenuItem menuItem = new JMenuItem("Load Graphic", KeyEvent.VK_L);
menu.add(menuItem);
menuItem.setActionCommand(loadgraphicString);
menuItem.addActionListener(this);
connectbutton.setActionCommand(connectString);
connectbutton.addActionListener(this);
setContentPane(contentPane);
static private void insertTheHTML(JEditorPane editor, String html, int location) throws IOException {
HTMLEditorKit kit = (HTMLEditorKit) editor.getEditorKit();
Document doc = editor.getDocument();
StringReader reader = new StringReader(html);
try {
kit.read(reader, doc, location);
} catch (BadLocationException e) {}
//listen for actions being performed and process them
public void actionPerformed(ActionEvent e) {
//if the action is from the textfield (e.g. user hits enter)
if (e.getActionCommand().equals(textFieldString)) {
JTextField fromUser = (JTextField)e.getSource();
if (fromUser != null){
//place user text in editor pane
//send message to server
if (userName.getText() != null) {
userString = userName.getText().trim();
out.println(userString + ": " + fromUser.getText());
fromUser.setText("");
} else if(e.getActionCommand().equals(connectString)) {
CONNECTFLAG = true;
} else if (e.getActionCommand().equals(loadgraphicString) ) {
final JFileChooser fc = new JFileChooser();
int returnVal = fc.showOpenDialog(this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
dPanel.loadImage(file.getAbsolutePath());
sendImage(file);
else if (e.getActionCommand().equals(fontlist)){
JComboBox cb = (JComboBox)e.getSource();
String newSelection = (String)cb.getSelectedItem();
currentFont = newSelection;
userString = currentFont;
return;
/*public void itemStateChanged (ItemEvent e) {
if ( e.getStateChange() != ItemEvent.SELECTED ) {
return;
if ( list == fontlist ) {
fontchoice = (String)fontlist.getSelectedItem();
userString.changeFont(fontchoice);
//append text to the editor pane and put it at the bottom
public static void appendText(String text) {
if (text.startsWith("ID ") ) {
userString = text.substring(3);
} else if (text.startsWith("DRAW ") ) {
if (text.regionMatches(5,"LINE",0,4)) {
dPanel.processLine(text);
}else if (text.regionMatches(5,"POINTS",0,5)) {
dPanel.processPoint(text);
} else if (text.startsWith("IMAGE ") ) {
int len = (new Integer( text.substring(6, text.indexOf(",")))).intValue();
//get x and y coordinates
byte[] data = new byte[ (int)len ];
int read = 0;
try {
while (read < len) {
data = text.getBytes( text.substring(0, len) );
} catch (Exception e) {}
Image theImage = null;
theImage = dPanel.getToolkit().createImage(data);
dPanel.getToolkit().prepareImage(theImage, -1, -1, dPanel);
while ((dPanel.getToolkit().checkImage(theImage, -1, -1, dPanel) & dPanel.ALLBITS) == 0) {}
dPanel.drawPicture(0, 0, theImage);
} else {
//set current position in editorPane to the end
editorPane.setCaretPosition(editorPane.getDocument().getLength());
//put text into the editorPane
try {
insertTheHTML(editorPane, text, editorPane.getDocument().getLength());
} catch (IOException e) {}
} //end of appendText(String)
public void sendImage(File file) {
//find length of file
long len = file.length();
//read file into byte array
byte[] byteArray = new byte[(int)len];
try {
FileInputStream fstream = new FileInputStream(file);
if (fstream.read(byteArray) < len) {
//error could not load file
} else {
out.println("IMAGE " + len + ",");
out.write(byteArray, 0, (int)len); //write file to stream
} catch(Exception e){}
//run the client
public static void main(String[] args) {
String ipAddr=null, portNr=null;
if (args.length != 2) {
System.out.println("USAGE: java guiClient IP_Address port_number");
System.exit(0);
} else {
ipAddr = args[0];
portNr = args[1];
JFrame frame = new guiClient();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) { System.exit(0); }
frame.pack();
frame.setVisible(true);
while(CONNECTFLAG == false){}
//sames as previous client,
//set up connection and then listen for messages from the Server
String socketIP = ipAddr;
int port = Integer.parseInt(portNr);
//the IP address of the machine where the server is running
Socket theSocket = null;
//communication line to the server
out = null;
//for message sending
BufferedReader in = null;
//for message receiving
try {
theSocket = new Socket(socketIP, port );
//try to connect
out = new PrintStream(theSocket.getOutputStream());
dPanel.out = out;
//for client to send messages
in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
String fromServer;
while ((fromServer = in.readLine()) != null) {
appendText(fromServer);
if (fromServer.equals("BYE")) {
appendText("Connection Closed");
break;
out.close();
//close all streams
in.close();
theSocket.close();
//close the socket
} catch (UnknownHostException e) {
//if the socket cannot be openned
System.err.println("Cannot find " + socketIP);
System.exit(1);
} catch (IOException e) { //if the socket cannot be read or written
System.err.println("Could not make I/O connection with " + socketIP);
System.exit(1);
class HyperListener implements HyperlinkListener {
public JEditorPane sourcePane;
public void hyperlinkUpdate(HyperlinkEvent e) {
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
sourcePane = (JEditorPane) e.getSource();
if (e instanceof HTMLFrameHyperlinkEvent) {
HTMLFrameHyperlinkEvent event = (HTMLFrameHyperlinkEvent) e;
System.out.println(event.getTarget());
HTMLDocument doc = (HTMLDocument) sourcePane.getDocument();
doc.processHTMLFrameHyperlinkEvent(event);
else {
try {}
catch (Exception ev){
ev.printStackTrace();
Well sorry the source code takes up the whole forum but I need a good feedback from this.All right...
public class guiClient extends JFrame implements ActionListener {
static String userString;
static String currentFont;
String fontchoice;
String fontlist;
static JTextField userName = new JTextField();
public guiClient() {
super("My Client");
public guiClient() {
super("My Client");
// Create a ComboBox
GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
String envfonts[] = gEnv.getAvailableFontFamilyNames();
Vector vector = new Vector();
for ( int i = 1; i < envfonts.length; i++ ) {
vector.addElement(envfonts);
JComboBox fontlist = new JComboBox (envfonts);
fontlist.setSelectedIndex(0);
fontlist.setEditable(true);
fontlist.addActionListener(this);
fontchoice = envfonts[0];
//Create a regular text field.
JTextField textField = new JTextField(10);
textField.setActionCommand(textFieldString);
textField.addActionListener(this);
public void actionPerformed(ActionEvent e) {
//if the action is from the textfield (e.g. user hits enter)
if (e.getActionCommand().equals(textFieldString)) {
JTextField fromUser = (JTextField)e.getSource();
if (fromUser != null){
//place user text in editor pane
//send message to server
if (userName.getText() != null) {
userString = userName.getText().trim();
out.println(userString + ": " + fromUser.getText());
fromUser.setText("");
else if (e.getActionCommand().equals(fontlist)){
JComboBox cb = (JComboBox)e.getSource();
String newSelection = (String)cb.getSelectedItem();
currentFont = newSelection;
userString = currentFont;
return;
Maybe you are looking for
-
Backing up an eMac with something like Carbonite ?
I just had a crash with my old eMac and had to do a clean install. I had previously looked for automatic backup like Carbonite (which doesn't cover any Mac machine), but never found one online which impressed me. Question: Can anyone recommend a ser
-
I have tried in CS5 and got nothing and upgrades to CS6 and it only tells me to check the plugin and make sure you have the right version. for CR2 that verion is 4.1.CS6 comes with verion 7.0.xxx what is going on. this should flow smoothly.
-
Ethernet Port Speeds on PowerMac G5
I just recently upgraded my cable modem and have it connected via a new ethernet cable to my Time Capsule. My Mac Book Pro (2.4 GHz) and my 2004 PowerMac G5 (2.0 Ghz) are both connected to my Time Capsule via new ethernet cables. I have been running
-
What is the most recent version of the Airp. Expr. base station firmware?
Hello, I just noticed that a 6.3 version is available for the AE base station firmware. I noticed that my current version is 6.2 and my question is "should I upgrade?". My concern is "why do I have such a discrepancy between my machine and the offici
-
Upload the sql database to host and manage it
hello i have window 8.1 sql server express 2014 visual studio 2013 express i have built a database and i am ready to copy it to the host. not in vs or in sql.s i have found the.. connect to remote server.. i have looked on google >> its say use the S