This file is indexed.

/usr/share/gtk-doc/html/libgimp/libgimp-gimptextlayer.html is in libgimp2.0-doc 2.6.12-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gimptextlayer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GIMP Library Reference Manual">
<link rel="up" href="libgimp-image.html" title="Manupulating Images and their Properties">
<link rel="prev" href="libgimp-gimpselection.html" title="gimpselection">
<link rel="next" href="libgimp-gimptexttool.html" title="gimptexttool">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgimp-gimpselection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimp-image.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GIMP Library Reference Manual</th>
<td><a accesskey="n" href="libgimp-gimptexttool.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgimp-gimptextlayer.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libgimp-gimptextlayer.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgimp-gimptextlayer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgimp-gimptextlayer.top_of_page"></a>gimptextlayer</span></h2>
<p>gimptextlayer</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgimp-gimptextlayer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">gint32</span>              <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-new" title="gimp_text_layer_new ()">gimp_text_layer_new</a>                 (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *fontname</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> size</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-text" title="gimp_text_layer_get_text ()">gimp_text_layer_get_text</a>            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-text" title="gimp_text_layer_set_text ()">gimp_text_layer_set_text</a>            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-font" title="gimp_text_layer_get_font ()">gimp_text_layer_get_font</a>            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-font" title="gimp_text_layer_set_font ()">gimp_text_layer_set_font</a>            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font</code></em>);
<span class="returnvalue">gdouble</span>             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-font-size" title="gimp_text_layer_get_font_size ()">gimp_text_layer_get_font_size</a>       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> *unit</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-font-size" title="gimp_text_layer_set_font_size ()">gimp_text_layer_set_font_size</a>       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> font_size</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-hinting" title="gimp_text_layer_get_hinting ()">gimp_text_layer_get_hinting</a>         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> *autohint</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-hinting" title="gimp_text_layer_set_hinting ()">gimp_text_layer_set_hinting</a>         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> hinting</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> autohint</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-antialias" title="gimp_text_layer_get_antialias ()">gimp_text_layer_get_antialias</a>       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-antialias" title="gimp_text_layer_set_antialias ()">gimp_text_layer_set_antialias</a>       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> antialias</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-kerning" title="gimp_text_layer_get_kerning ()">gimp_text_layer_get_kerning</a>         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-kerning" title="gimp_text_layer_set_kerning ()">gimp_text_layer_set_kerning</a>         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> kerning</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-language" title="gimp_text_layer_get_language ()">gimp_text_layer_get_language</a>        (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-language" title="gimp_text_layer_set_language ()">gimp_text_layer_set_language</a>        (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *language</code></em>);
<a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextDirection"><span class="returnvalue">GimpTextDirection</span></a>   <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-base-direction" title="gimp_text_layer_get_base_direction ()">gimp_text_layer_get_base_direction</a>  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-base-direction" title="gimp_text_layer_set_base_direction ()">gimp_text_layer_set_base_direction</a>  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextDirection"><span class="type">GimpTextDirection</span></a> direction</code></em>);
<a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextJustification"><span class="returnvalue">GimpTextJustification</span></a> <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-justification" title="gimp_text_layer_get_justification ()">gimp_text_layer_get_justification</a> (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-justification" title="gimp_text_layer_set_justification ()">gimp_text_layer_set_justification</a>   (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextJustification"><span class="type">GimpTextJustification</span></a> justify</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-color" title="gimp_text_layer_get_color ()">gimp_text_layer_get_color</a>           (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-color" title="gimp_text_layer_set_color ()">gimp_text_layer_set_color</a>           (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);
<span class="returnvalue">gdouble</span>             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-indent" title="gimp_text_layer_get_indent ()">gimp_text_layer_get_indent</a>          (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-indent" title="gimp_text_layer_set_indent ()">gimp_text_layer_set_indent</a>          (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> indent</code></em>);
<span class="returnvalue">gdouble</span>             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-line-spacing" title="gimp_text_layer_get_line_spacing ()">gimp_text_layer_get_line_spacing</a>    (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-line-spacing" title="gimp_text_layer_set_line_spacing ()">gimp_text_layer_set_line_spacing</a>    (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> line_spacing</code></em>);
<span class="returnvalue">gdouble</span>             <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-get-letter-spacing" title="gimp_text_layer_get_letter_spacing ()">gimp_text_layer_get_letter_spacing</a>  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="libgimp-gimptextlayer.html#gimp-text-layer-set-letter-spacing" title="gimp_text_layer_set_letter_spacing ()">gimp_text_layer_set_letter_spacing</a>  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> letter_spacing</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgimp-gimptextlayer.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libgimp-gimptextlayer.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="gimp-text-layer-new"></a><h3>gimp_text_layer_new ()</h3>
<pre class="programlisting"><span class="returnvalue">gint32</span>              gimp_text_layer_new                 (<em class="parameter"><code><span class="type">gint32</span> image_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *fontname</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> size</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
Creates a new text layer.
</p>
<p>
This procedure creates a new text layer. The arguments are kept as
simple as necessary for the normal case. All text attributes,
however, can be modified with the appropriate
gimp_text_layer_set_*() procedures. The new layer still needs to be
added to the image, as this is not automatic. Add the new layer
using <a class="link" href="libgimp-gimpimage.html#gimp-image-add-layer" title="gimp_image_add_layer ()"><code class="function">gimp_image_add_layer()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>image_ID</code></em> :</span></p></td>
<td>The image.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>The text to generate (in UTF-8 encoding).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fontname</code></em> :</span></p></td>
<td>The name of the font.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>The size of text in either pixels or points.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>The units of specified size.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-text"></a><h3>gimp_text_layer_get_text ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_text_layer_get_text            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the text from a text layer as string.
</p>
<p>
This procedure returns the text from a text layer as a string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The text from the specified text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-text"></a><h3>gimp_text_layer_set_text ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_text            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
<p>
Set the text of a text layer.
</p>
<p>
This procedure changes the text of a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>The new text to set.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-font"></a><h3>gimp_text_layer_get_font ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_text_layer_get_font            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the font from a text layer as string.
</p>
<p>
This procedure returns the name of the font from a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The font which is used in the specified text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-font"></a><h3>gimp_text_layer_set_font ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_font            (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *font</code></em>);</pre>
<p>
Set the font of a text layer.
</p>
<p>
This procedure modifies the font used in the specified text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
<td>The new font to use.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-font-size"></a><h3>gimp_text_layer_get_font_size ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gimp_text_layer_get_font_size       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> *unit</code></em>);</pre>
<p>
Get the font size from a text layer.
</p>
<p>
This procedure returns the size of the font which is used in a text
layer. You will receive the size as a float 'font-size' in 'unit'
units.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>The unit used for the font size.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The font size.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-font-size"></a><h3>gimp_text_layer_set_font_size ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_font_size       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> font_size</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpunit.html#GimpUnit"><span class="type">GimpUnit</span></a> unit</code></em>);</pre>
<p>
Set the font size.
</p>
<p>
This procedure changes the font size of a text layer. The size of
your font will be a double 'font-size' of 'unit' units.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>font_size</code></em> :</span></p></td>
<td>The font size.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>unit</code></em> :</span></p></td>
<td>The unit to use for the font size.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-hinting"></a><h3>gimp_text_layer_get_hinting ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_get_hinting         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> *autohint</code></em>);</pre>
<p>
Get information about hinting in the specified text layer.
</p>
<p>
This procedure provides information about the hinting that is being
used in a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>autohint</code></em> :</span></p></td>
<td>A flag which is true if the text layer is forced to use the autohinter from FreeType.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A flag which is true if hinting is used on the font.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-hinting"></a><h3>gimp_text_layer_set_hinting ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_hinting         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> hinting</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> autohint</code></em>);</pre>
<p>
Enable/disable the use of hinting in a text layer.
</p>
<p>
This procedure enables or disables hinting on the text of a text
layer. If you enable 'auto-hint', FreeType\'s automatic hinter will
be used and hinting information from the font will be ignored.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>hinting</code></em> :</span></p></td>
<td>Enable/disable the use of hinting on the text.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>autohint</code></em> :</span></p></td>
<td>Force the use of the autohinter provided through FreeType.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-antialias"></a><h3>gimp_text_layer_get_antialias ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_get_antialias       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Check if antialiasing is used in the text layer.
</p>
<p>
This procedure checks if antialiasing is enabled in the specified
text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A flag which is true if antialiasing is used for rendering the font in the text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-antialias"></a><h3>gimp_text_layer_set_antialias ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_antialias       (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> antialias</code></em>);</pre>
<p>
Enable/disable anti-aliasing in a text layer.
</p>
<p>
This procedure enables or disables anti-aliasing of the text in a
text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>antialias</code></em> :</span></p></td>
<td>Enable/disable antialiasing of the text.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-kerning"></a><h3>gimp_text_layer_get_kerning ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_get_kerning         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Check if kerning is used in the text layer.
</p>
<p>
This procedure checks if kerning is enabled in the specified text
layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A flag which is true if kerning is used in the text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-kerning"></a><h3>gimp_text_layer_set_kerning ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_kerning         (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> kerning</code></em>);</pre>
<p>
Enable/disable kerning in a text layer.
</p>
<p>
This procedure enables or disables kerning in a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>kerning</code></em> :</span></p></td>
<td>Enable/disable kerning in the text.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-language"></a><h3>gimp_text_layer_get_language ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             gimp_text_layer_get_language        (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the language used in the text layer.
</p>
<p>
This procedure returns the language string which is set for the text
in the text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The language used in the text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-language"></a><h3>gimp_text_layer_set_language ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_language        (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *language</code></em>);</pre>
<p>
Set the language of the text layer.
</p>
<p>
This procedure sets the language of the text in text layer. For some
scripts the language has an influence of how the text is rendered.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>language</code></em> :</span></p></td>
<td>The new language to use for the text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-base-direction"></a><h3>gimp_text_layer_get_base_direction ()</h3>
<pre class="programlisting"><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextDirection"><span class="returnvalue">GimpTextDirection</span></a>   gimp_text_layer_get_base_direction  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the base direction used for rendering the text layer.
</p>
<p>
This procedure returns the base direction used for rendering the
text in the text layer
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The based direction used for the text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-base-direction"></a><h3>gimp_text_layer_set_base_direction ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_base_direction  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextDirection"><span class="type">GimpTextDirection</span></a> direction</code></em>);</pre>
<p>
Set the base direction in the text layer.
</p>
<p>
This procedure sets the base direction used in applying the Unicode
bidirectional algorithm when rendering the text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>direction</code></em> :</span></p></td>
<td>The base direction of the text.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-justification"></a><h3>gimp_text_layer_get_justification ()</h3>
<pre class="programlisting"><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextJustification"><span class="returnvalue">GimpTextJustification</span></a> gimp_text_layer_get_justification (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the text justification information of the text layer.
</p>
<p>
This procedure returns the alignment of the lines in the text layer
relative to each other.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The justification used in the text layer.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-justification"></a><h3>gimp_text_layer_set_justification ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_justification   (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpTextJustification"><span class="type">GimpTextJustification</span></a> justify</code></em>);</pre>
<p>
Set the justification of the text in a text layer.
</p>
<p>
This procedure sets the alignment of the lines in the text layer
relative to each other.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>justify</code></em> :</span></p></td>
<td>The justification for your text.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-color"></a><h3>gimp_text_layer_get_color ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_get_color           (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
<p>
Get the color of the text in a text layer.
</p>
<p>
This procedure returns the color of the text in a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>The color of the text.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-color"></a><h3>gimp_text_layer_set_color ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_color           (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code>const <a href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *color</code></em>);</pre>
<p>
Set the color of the text in the text layer.
</p>
<p>
This procedure sets the text color in the text layer 'layer'.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>The color to use for the text.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-indent"></a><h3>gimp_text_layer_get_indent ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gimp_text_layer_get_indent          (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the line indentation of text layer.
</p>
<p>
This procedure returns the indentation of the first line in a text
layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The indentation value of the first line.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-indent"></a><h3>gimp_text_layer_set_indent ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_indent          (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> indent</code></em>);</pre>
<p>
Set the indentation of the first line in a text layer.
</p>
<p>
This procedure sets the indentation of the first line in the text
layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>indent</code></em> :</span></p></td>
<td>The indentation for the first line.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-line-spacing"></a><h3>gimp_text_layer_get_line_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gimp_text_layer_get_line_spacing    (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the spacing between lines of text.
</p>
<p>
This procedure returns the line-spacing between lines of text in a
text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The line-spacing value.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-line-spacing"></a><h3>gimp_text_layer_set_line_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_line_spacing    (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> line_spacing</code></em>);</pre>
<p>
Adjust the line spacing in a text layer.
</p>
<p>
This procedure sets the additional spacing used between lines a text
layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>line_spacing</code></em> :</span></p></td>
<td>The additional line spacing to use.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-get-letter-spacing"></a><h3>gimp_text_layer_get_letter_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>             gimp_text_layer_get_letter_spacing  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>);</pre>
<p>
Get the letter spacing used in a text layer.
</p>
<p>
This procedure returns the additional spacing between the single
glyps in a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The letter-spacing value.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-text-layer-set-letter-spacing"></a><h3>gimp_text_layer_set_letter_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gimp_text_layer_set_letter_spacing  (<em class="parameter"><code><span class="type">gint32</span> layer_ID</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> letter_spacing</code></em>);</pre>
<p>
Adjust the letter spacing in a text layer.
</p>
<p>
This procedure sets the additional spacing between the single glyphs
in a text layer.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>layer_ID</code></em> :</span></p></td>
<td>The text layer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>letter_spacing</code></em> :</span></p></td>
<td>The additional letter spacing to use.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE on success.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since GIMP 2.6</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>