blob: c1c1b954285f8bb062f0bca6175c1d136ffc7e72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<HTML>
<HEAD>
<!-- Created with AOLpress/2.0 -->
<!-- AP: Created on: 1-Nov-2002 -->
<!-- AP: Last modified: 26-Jul-2006 -->
<TITLE>X Selections and the X Clipboard</TITLE>
<LINK REL="icon" href="ffanvil16.png">
<LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
</HEAD>
<BODY>
<DIV id="in">
<H1 ALIGN=Center>
X Selections and the X Clipboard
</H1>
<P>
The general description of how selections and the clipboard works under X
is given in
<A HREF="http://www.freedesktop.org/standards/clipboards.txt">clipboards.txt</A>.
FontForge tries to follow this.
<P>
FontForge only supports the PRIMARY selection within textfields. Text is
exported as
<UL>
<LI>
STRING
<LI>
UTF8_STRING
<LI>
text/plain;charset=UTF8
<LI>
text/plain;charset=ISO-10646-USC2
</UL>
<P>
Traditionally the PRIMARY selection is available for pasting by clicking
on the middle mouse button.
<P>
After a Copy command FontForge will place data in the X CLIPBOARD. For text
selections (in textfields) the above format types are supported. For contour
data (ie. the contents of an outline character) the format "image/eps" or
"image/svg" will be used. As a special case, if a single point is in the
clipboard then it will also be exported as a STRING containing the coordinates
of the point (to make it easier for people to identify points when sending
me email, or in the comment field). For bitmap image data either "image/bmp"
or "image/png" (assuming you have libpng on your system).
</DIV>
</BODY></HTML>
|