Questions tagged [text]

Text is a sequence of printable characters.

Text is a sequence of printable characters.

Text can be unformatted (plain) or formatted (rich).

The most common character codes used for representing text are Unicode and ASCII:

  • ASCII is a character code and an encoding.
  • Unicode is a complex standard, with multiple encodings, the most common of which is UTF-8.
31743 questions
7
votes
3 answers

HTML Hyperlink with Image AND Text

Is it possible to make hyperlink looked like button WITH text on it? We can make hyperlink button with code: Some text but i need also TEXT in the center of…
Victor_Z
  • 121
  • 1
  • 3
  • 5
7
votes
3 answers

How to write text on an image

I can do this in Objective-C on the iPhone, but now I'm looking for the equivalent Android Java code. I can also do it in plain Java, but I don't know what the Android specific classes are. I want to generate a PNG image on the fly that has some…
Ben Holland
  • 2,309
  • 4
  • 34
  • 50
7
votes
3 answers

android: set textColor with textAppearance attribute

I have created several styles for font in my app. How can I add these styles to views? - 1) Using style attribute 2) Using textAppearance. To use style is not an option because views may have other attributes (margins, paddings, min width, etc - I…
Eugene Chumak
  • 3,272
  • 7
  • 34
  • 52
7
votes
4 answers

Linux - get text from second tab

Suppose that we have file like this: sometext11 sometext12 sometext13 sometext21 sometext22 sometext23 Texts are separated by tabs and we know sometext from column 1 but want to get text from column 2. I know I can get line by: grep…
bandit
  • 839
  • 4
  • 10
  • 26
7
votes
7 answers

CSS progress bar text color for contrast filled and empty backgrounds?

I want to have XHTML+CSS progress bar with contrast colors between filled and empty background areas. I have a problem with text color. Because filled and empty backgrounds are too contrast (this is a requirement), to remain readable the text should…
drdaeman
  • 11,159
  • 7
  • 59
  • 104
7
votes
10 answers

Interpreting this raw text - a strategy?

I have this raw text: ________________________________________________________________________________________________________________________________ Pos Car Competitor/Team Driver Vehicle Cap CL…
Dominic Bou-Samra
  • 14,799
  • 26
  • 100
  • 156
7
votes
2 answers

Qml Text new line

If I enter: "Subject:" + "/n" + vak + "/n" + klas as the text property of a Text element it returns everything in a straight line with "/n"'s in. How can I get it to create new lines?
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
7
votes
2 answers

How to append content of one textfile to another textfile using batchscript?

How to create a simple batchscript in windows that will take the contents of one txt file and will append it to the end of another textfile
Mat
  • 4,281
  • 9
  • 44
  • 66
7
votes
3 answers

How to save something to the desktop without hard-coding the directory?

I was wondering how to get java to save a text file named hello.txt to the desktop without writing "C:\\Users\\Austin\\Desktop" Any help would be great. so like: FileWriter fileWriter = new FileWriter(fileName.getText(), true); ..and the…
PulsePanda
  • 1,806
  • 10
  • 33
  • 56
7
votes
5 answers

WPF - Best Practice for the run-of-the-mill [Label:Input] Control

I am wondering, which is the best and quickest way to get the well known Label Input [or output, doesn't matter] combination in WPF. Its a simple Task, just think of a quick output of the "object" ME: Name - Christian Age - 28 Mood - Good I know,…
Christian Ruppert
  • 3,749
  • 5
  • 47
  • 72
6
votes
3 answers

Determining "Mood" of Textual Phrases through Lexical Analysis

I am looking to apply scores (positive, negative or neutral) to short phrases of text. Short of parsing out emoticons and making assumptions based on their usage, I'm unsure of what else to try. Can anyone provide examples, research papers,…
Michael Wales
  • 10,360
  • 8
  • 28
  • 28
6
votes
4 answers

Android: how to create a button with image and text that are both centred

I got stuck in an odd issue with Android - I want to have a button that looks like this: |-----------------------------------------------------------------------| | [icon] <5px> [text text text] | …
vap78
  • 1,029
  • 2
  • 11
  • 26
6
votes
4 answers

emacs string-insert-rectangle vector of numbers?

How can I use emacs string-insert-rectangle operation to add a vector of numbers to a series of lines? For example, I've got this shortened version of a bunch of text entries in my emacs buffer: element01 8 …
719016
  • 9,922
  • 20
  • 85
  • 158
6
votes
3 answers

Does anyone know of a java2d text library?

This is what I need in my game regarding text: Word Wrap Support given a bounding box Vertical and Horizontal alignment given a bounding box Now, I've been reading about how to use TextLayout, and it seems possible to write all this myself but I'd…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
6
votes
1 answer

Can python format the emails it sends?

I have a script that runs at evening, it writes to a log file as it runs, and once the task completes, the text it writes is also emailed to me. Sometimes the task can fail, what I want to happen is when I get the email, the line with the error is…
MapMan
  • 630
  • 2
  • 13
  • 28
1 2 3
99
100