forked from bjmashibing/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFont.html
More file actions
3369 lines (3347 loc) · 161 KB
/
Font.html
File metadata and controls
3369 lines (3347 loc) · 161 KB
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
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Font (Java SE 12 & JDK 12 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="java.awt.Font class">
<meta name="keywords" content="DIALOG">
<meta name="keywords" content="DIALOG_INPUT">
<meta name="keywords" content="SANS_SERIF">
<meta name="keywords" content="SERIF">
<meta name="keywords" content="MONOSPACED">
<meta name="keywords" content="PLAIN">
<meta name="keywords" content="BOLD">
<meta name="keywords" content="ITALIC">
<meta name="keywords" content="ROMAN_BASELINE">
<meta name="keywords" content="CENTER_BASELINE">
<meta name="keywords" content="HANGING_BASELINE">
<meta name="keywords" content="TRUETYPE_FONT">
<meta name="keywords" content="TYPE1_FONT">
<meta name="keywords" content="name">
<meta name="keywords" content="style">
<meta name="keywords" content="size">
<meta name="keywords" content="pointSize">
<meta name="keywords" content="LAYOUT_LEFT_TO_RIGHT">
<meta name="keywords" content="LAYOUT_RIGHT_TO_LEFT">
<meta name="keywords" content="LAYOUT_NO_START_CONTEXT">
<meta name="keywords" content="LAYOUT_NO_LIMIT_CONTEXT">
<meta name="keywords" content="textRequiresLayout()">
<meta name="keywords" content="getFont()">
<meta name="keywords" content="createFonts()">
<meta name="keywords" content="createFont()">
<meta name="keywords" content="getTransform()">
<meta name="keywords" content="getFamily()">
<meta name="keywords" content="getPSName()">
<meta name="keywords" content="getName()">
<meta name="keywords" content="getFontName()">
<meta name="keywords" content="getStyle()">
<meta name="keywords" content="getSize()">
<meta name="keywords" content="getSize2D()">
<meta name="keywords" content="isPlain()">
<meta name="keywords" content="isBold()">
<meta name="keywords" content="isItalic()">
<meta name="keywords" content="isTransformed()">
<meta name="keywords" content="hasLayoutAttributes()">
<meta name="keywords" content="decode()">
<meta name="keywords" content="hashCode()">
<meta name="keywords" content="equals()">
<meta name="keywords" content="toString()">
<meta name="keywords" content="getNumGlyphs()">
<meta name="keywords" content="getMissingGlyphCode()">
<meta name="keywords" content="getBaselineFor()">
<meta name="keywords" content="getAttributes()">
<meta name="keywords" content="getAvailableAttributes()">
<meta name="keywords" content="deriveFont()">
<meta name="keywords" content="canDisplay()">
<meta name="keywords" content="canDisplayUpTo()">
<meta name="keywords" content="getItalicAngle()">
<meta name="keywords" content="hasUniformLineMetrics()">
<meta name="keywords" content="getLineMetrics()">
<meta name="keywords" content="getStringBounds()">
<meta name="keywords" content="getMaxCharBounds()">
<meta name="keywords" content="createGlyphVector()">
<meta name="keywords" content="layoutGlyphVector()">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Font (Java SE 12 & JDK 12 )";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9,"i7":9,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":9,"i27":9,"i28":9,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":9,"i58":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Font.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 & JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field.summary">Field</a> | </li>
<li><a href="#constructor.summary">Constr</a> | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field.detail">Field</a> | </li>
<li><a href="#constructor.detail">Constr</a> | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding"> </div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="moduleLabelInType">Module</span> <a href="../../module-summary.html">java.desktop</a></div>
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">java.awt</a></div>
<h2 title="Class Font" class="title">Class Font</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java.base/java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>java.awt.Font</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../../java.base/java/io/Serializable.html" title="interface in java.io">Serializable</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="../../javax/swing/plaf/FontUIResource.html" title="class in javax.swing.plaf">FontUIResource</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">Font</span>
extends <a href="../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a>
implements <a href="../../../java.base/java/io/Serializable.html" title="interface in java.io">Serializable</a></pre>
<div class="block">The <code>Font</code> class represents fonts, which are used to
render text in a visible way.
A font provides the information needed to map sequences of
<em>characters</em> to sequences of <em>glyphs</em>
and to render sequences of glyphs on <code>Graphics</code> and
<code>Component</code> objects.
<h3>Characters and Glyphs</h3>
A <em>character</em> is a symbol that represents an item such as a letter,
a digit, or punctuation in an abstract way. For example, <code>'g'</code>,
LATIN SMALL LETTER G, is a character.
<p>
A <em>glyph</em> is a shape used to render a character or a sequence of
characters. In simple writing systems, such as Latin, typically one glyph
represents one character. In general, however, characters and glyphs do not
have one-to-one correspondence. For example, the character 'á'
LATIN SMALL LETTER A WITH ACUTE, can be represented by
two glyphs: one for 'a' and one for '´'. On the other hand, the
two-character string "fi" can be represented by a single glyph, an
"fi" ligature. In complex writing systems, such as Arabic or the South
and South-East Asian writing systems, the relationship between characters
and glyphs can be more complicated and involve context-dependent selection
of glyphs as well as glyph reordering.
A font encapsulates the collection of glyphs needed to render a selected set
of characters as well as the tables needed to map sequences of characters to
corresponding sequences of glyphs.
<h3>Physical and Logical Fonts</h3>
The Java Platform distinguishes between two kinds of fonts:
<em>physical</em> fonts and <em>logical</em> fonts.
<p>
<em>Physical</em> fonts are the actual font libraries containing glyph data
and tables to map from character sequences to glyph sequences, using a font
technology such as TrueType or PostScript Type 1.
All implementations of the Java Platform must support TrueType fonts;
support for other font technologies is implementation dependent.
Physical fonts may use names such as Helvetica, Palatino, HonMincho, or
any number of other font names.
Typically, each physical font supports only a limited set of writing
systems, for example, only Latin characters or only Japanese and Basic
Latin.
The set of available physical fonts varies between configurations.
Applications that require specific fonts can bundle them and instantiate
them using the <a href="#createFont(int,java.io.InputStream)"><code>createFont</code></a> method.
<p>
<em>Logical</em> fonts are the five font families defined by the Java
platform which must be supported by any Java runtime environment:
Serif, SansSerif, Monospaced, Dialog, and DialogInput.
These logical fonts are not actual font libraries. Instead, the logical
font names are mapped to physical fonts by the Java runtime environment.
The mapping is implementation and usually locale dependent, so the look
and the metrics provided by them vary.
Typically, each logical font name maps to several physical fonts in order to
cover a large range of characters.
<p>
Peered AWT components, such as <a href="Label.html" title="class in java.awt"><code>Label</code></a> and
<a href="TextField.html" title="class in java.awt"><code>TextField</code></a>, can only use logical fonts.
<p>
For a discussion of the relative advantages and disadvantages of using
physical or logical fonts, see the
<a href="https://docs.oracle.com/javase/tutorial/2d/text/fonts.html#advantages-and-disadvantages">
Physical and Logical Fonts</a>
in <a href="https://docs.oracle.com/javase/tutorial/index.html">The Java Tutorials</a>
document.
<h3>Font Faces and Names</h3>
A <code>Font</code>
can have many faces, such as heavy, medium, oblique, gothic and
regular. All of these faces have similar typographic design.
<p>
There are three different names that you can get from a
<code>Font</code> object. The <em>logical font name</em> is simply the
name that was used to construct the font.
The <em>font face name</em>, or just <em>font name</em> for
short, is the name of a particular font face, like Helvetica Bold. The
<em>family name</em> is the name of the font family that determines the
typographic design across several faces, like Helvetica.
<p>
The <code>Font</code> class represents an instance of a font face from
a collection of font faces that are present in the system resources
of the host system. As examples, Arial Bold and Courier Bold Italic
are font faces. There can be several <code>Font</code> objects
associated with a font face, each differing in size, style, transform
and font features.
<p>
Glyphs may not always be rendered with the requested properties (e.g, font
and style) due to platform limitations such as the absence of suitable
platform fonts to implement a logical font.
<p>
The <a href="GraphicsEnvironment.html#getAllFonts()"><code>getAllFonts</code></a> method
of the <code>GraphicsEnvironment</code> class returns an
array of all font faces available in the system. These font faces are
returned as <code>Font</code> objects with a size of 1, identity
transform and default font features. These
base fonts can then be used to derive new <code>Font</code> objects
with varying sizes, styles, transforms and font features via the
<code>deriveFont</code> methods in this class.
<h3>Font and TextAttribute</h3>
<p><code>Font</code> supports most
<code>TextAttribute</code>s. This makes some operations, such as
rendering underlined text, convenient since it is not
necessary to explicitly construct a <code>TextLayout</code> object.
Attributes can be set on a Font by constructing or deriving it
using a <code>Map</code> of <code>TextAttribute</code> values.
<p>The values of some <code>TextAttributes</code> are not
serializable, and therefore attempting to serialize an instance of
<code>Font</code> that has such values will not serialize them.
This means a Font deserialized from such a stream will not compare
equal to the original Font that contained the non-serializable
attributes. This should very rarely pose a problem
since these attributes are typically used only in special
circumstances and are unlikely to be serialized.
<ul>
<li><code>FOREGROUND</code> and <code>BACKGROUND</code> use
<code>Paint</code> values. The subclass <code>Color</code> is
serializable, while <code>GradientPaint</code> and
<code>TexturePaint</code> are not.</li>
<li><code>CHAR_REPLACEMENT</code> uses
<code>GraphicAttribute</code> values. The subclasses
<code>ShapeGraphicAttribute</code> and
<code>ImageGraphicAttribute</code> are not serializable.</li>
<li><code>INPUT_METHOD_HIGHLIGHT</code> uses
<code>InputMethodHighlight</code> values, which are
not serializable. See <a href="im/InputMethodHighlight.html" title="class in java.awt.im"><code>InputMethodHighlight</code></a>.</li>
</ul>
<p>Clients who create custom subclasses of <code>Paint</code> and
<code>GraphicAttribute</code> can make them serializable and
avoid this problem. Clients who use input method highlights can
convert these to the platform-specific attributes for that
highlight on the current platform and set them on the Font as
a workaround.
<p>The <code>Map</code>-based constructor and
<code>deriveFont</code> APIs ignore the FONT attribute, and it is
not retained by the Font; the static <a href="#getFont(java.util.Map)"><code>getFont(java.util.Map<? extends java.text.AttributedCharacterIterator.Attribute, ?>)</code></a> method should
be used if the FONT attribute might be present. See <a href="font/TextAttribute.html#FONT"><code>TextAttribute.FONT</code></a> for more information.</p>
<p>Several attributes will cause additional rendering overhead
and potentially invoke layout. If a <code>Font</code> has such
attributes, the <code><a href="#hasLayoutAttributes()"><code>hasLayoutAttributes()</code></a></code> method
will return true.</p>
<p>Note: Font rotations can cause text baselines to be rotated. In
order to account for this (rare) possibility, font APIs are
specified to return metrics and take parameters 'in
baseline-relative coordinates'. This maps the 'x' coordinate to
the advance along the baseline, (positive x is forward along the
baseline), and the 'y' coordinate to a distance along the
perpendicular to the baseline at 'x' (positive y is 90 degrees
clockwise from the baseline vector). APIs for which this is
especially important are called out as having 'baseline-relative
coordinates.'</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../serialized-form.html#java.awt.Font">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BOLD">BOLD</a></span></code></th>
<td class="colLast">
<div class="block">The bold style constant.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CENTER_BASELINE">CENTER_BASELINE</a></span></code></th>
<td class="colLast">
<div class="block">The baseline used in ideographic scripts like Chinese, Japanese,
and Korean when laying out text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DIALOG">DIALOG</a></span></code></th>
<td class="colLast">
<div class="block">A String constant for the canonical family name of the
logical font "Dialog".</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DIALOG_INPUT">DIALOG_INPUT</a></span></code></th>
<td class="colLast">
<div class="block">A String constant for the canonical family name of the
logical font "DialogInput".</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#HANGING_BASELINE">HANGING_BASELINE</a></span></code></th>
<td class="colLast">
<div class="block">The baseline used in Devanagari and similar scripts when laying
out text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ITALIC">ITALIC</a></span></code></th>
<td class="colLast">
<div class="block">The italicized style constant.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LAYOUT_LEFT_TO_RIGHT">LAYOUT_LEFT_TO_RIGHT</a></span></code></th>
<td class="colLast">
<div class="block">A flag to layoutGlyphVector indicating that text is left-to-right as
determined by Bidi analysis.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LAYOUT_NO_LIMIT_CONTEXT">LAYOUT_NO_LIMIT_CONTEXT</a></span></code></th>
<td class="colLast">
<div class="block">A flag to layoutGlyphVector indicating that text in the char array
after the indicated limit should not be examined.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LAYOUT_NO_START_CONTEXT">LAYOUT_NO_START_CONTEXT</a></span></code></th>
<td class="colLast">
<div class="block">A flag to layoutGlyphVector indicating that text in the char array
before the indicated start should not be examined.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LAYOUT_RIGHT_TO_LEFT">LAYOUT_RIGHT_TO_LEFT</a></span></code></th>
<td class="colLast">
<div class="block">A flag to layoutGlyphVector indicating that text is right-to-left as
determined by Bidi analysis.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MONOSPACED">MONOSPACED</a></span></code></th>
<td class="colLast">
<div class="block">A String constant for the canonical family name of the
logical font "Monospaced".</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#name">name</a></span></code></th>
<td class="colLast">
<div class="block">The logical name of this <code>Font</code>, as passed to the
constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PLAIN">PLAIN</a></span></code></th>
<td class="colLast">
<div class="block">The plain style constant.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pointSize">pointSize</a></span></code></th>
<td class="colLast">
<div class="block">The point size of this <code>Font</code> in <code>float</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ROMAN_BASELINE">ROMAN_BASELINE</a></span></code></th>
<td class="colLast">
<div class="block">The baseline used in most Roman scripts when laying out text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SANS_SERIF">SANS_SERIF</a></span></code></th>
<td class="colLast">
<div class="block">A String constant for the canonical family name of the
logical font "SansSerif".</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SERIF">SERIF</a></span></code></th>
<td class="colLast">
<div class="block">A String constant for the canonical family name of the
logical font "Serif".</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size">size</a></span></code></th>
<td class="colLast">
<div class="block">The point size of this <code>Font</code>, rounded to integer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#style">style</a></span></code></th>
<td class="colLast">
<div class="block">The style of this <code>Font</code>, as passed to the constructor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TRUETYPE_FONT">TRUETYPE_FONT</a></span></code></th>
<td class="colLast">
<div class="block">Identify a font resource of type TRUETYPE.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TYPE1_FONT">TYPE1_FONT</a></span></code></th>
<td class="colLast">
<div class="block">Identify a font resource of type TYPE1.</div>
</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.awt.Font)">Font</a></span>​(<a href="Font.html" title="class in java.awt">Font</a> font)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> from the specified <code>font</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code> </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,int,int)">Font</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> name,
int style,
int size)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> from the specified name, style and
point size.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code> </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.util.Map)">Font</a></span>​(<a href="../../../java.base/java/util/Map.html" title="interface in java.util">Map</a><? extends <a href="../../../java.base/java/text/AttributedCharacterIterator.Attribute.html" title="class in java.text">AttributedCharacterIterator.Attribute</a>,​?> attributes)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> with the specified attributes.</div>
</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canDisplay(char)">canDisplay</a></span>​(char c)</code></th>
<td class="colLast">
<div class="block">Checks if this <code>Font</code> has a glyph for the specified
character.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canDisplay(int)">canDisplay</a></span>​(int codePoint)</code></th>
<td class="colLast">
<div class="block">Checks if this <code>Font</code> has a glyph for the specified
character.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canDisplayUpTo(char%5B%5D,int,int)">canDisplayUpTo</a></span>​(char[] text,
int start,
int limit)</code></th>
<td class="colLast">
<div class="block">Indicates whether or not this <code>Font</code> can display
the characters in the specified <code>text</code>
starting at <code>start</code> and ending at
<code>limit</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canDisplayUpTo(java.lang.String)">canDisplayUpTo</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str)</code></th>
<td class="colLast">
<div class="block">Indicates whether or not this <code>Font</code> can display a
specified <code>String</code>.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canDisplayUpTo(java.text.CharacterIterator,int,int)">canDisplayUpTo</a></span>​(<a href="../../../java.base/java/text/CharacterIterator.html" title="interface in java.text">CharacterIterator</a> iter,
int start,
int limit)</code></th>
<td class="colLast">
<div class="block">Indicates whether or not this <code>Font</code> can display the
text specified by the <code>iter</code> starting at
<code>start</code> and ending at <code>limit</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFont(int,java.io.File)">createFont</a></span>​(int fontFormat,
<a href="../../../java.base/java/io/File.html" title="class in java.io">File</a> fontFile)</code></th>
<td class="colLast">
<div class="block">Returns a new <code>Font</code> using the specified font type
and the specified font file.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFont(int,java.io.InputStream)">createFont</a></span>​(int fontFormat,
<a href="../../../java.base/java/io/InputStream.html" title="class in java.io">InputStream</a> fontStream)</code></th>
<td class="colLast">
<div class="block">Returns a new <code>Font</code> using the specified font type
and input data.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFonts(java.io.File)">createFonts</a></span>​(<a href="../../../java.base/java/io/File.html" title="class in java.io">File</a> fontFile)</code></th>
<td class="colLast">
<div class="block">Returns a new array of <code>Font</code> decoded from the specified file.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFonts(java.io.InputStream)">createFonts</a></span>​(<a href="../../../java.base/java/io/InputStream.html" title="class in java.io">InputStream</a> fontStream)</code></th>
<td class="colLast">
<div class="block">Returns a new array of <code>Font</code> decoded from the specified stream.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code><a href="font/GlyphVector.html" title="class in java.awt.font">GlyphVector</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createGlyphVector(java.awt.font.FontRenderContext,char%5B%5D)">createGlyphVector</a></span>​(<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc,
char[] chars)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="font/GlyphVector.html" title="class in java.awt.font"><code>GlyphVector</code></a> by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this <code>Font</code>.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code><a href="font/GlyphVector.html" title="class in java.awt.font">GlyphVector</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createGlyphVector(java.awt.font.FontRenderContext,int%5B%5D)">createGlyphVector</a></span>​(<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc,
int[] glyphCodes)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="font/GlyphVector.html" title="class in java.awt.font"><code>GlyphVector</code></a> by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this <code>Font</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code><a href="font/GlyphVector.html" title="class in java.awt.font">GlyphVector</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createGlyphVector(java.awt.font.FontRenderContext,java.lang.String)">createGlyphVector</a></span>​(<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc,
<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="font/GlyphVector.html" title="class in java.awt.font"><code>GlyphVector</code></a> by
mapping characters to glyphs one-to-one based on the
Unicode cmap in this <code>Font</code>.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><a href="font/GlyphVector.html" title="class in java.awt.font">GlyphVector</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createGlyphVector(java.awt.font.FontRenderContext,java.text.CharacterIterator)">createGlyphVector</a></span>​(<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc,
<a href="../../../java.base/java/text/CharacterIterator.html" title="interface in java.text">CharacterIterator</a> ci)</code></th>
<td class="colLast">
<div class="block">Creates a <a href="font/GlyphVector.html" title="class in java.awt.font"><code>GlyphVector</code></a> by
mapping the specified characters to glyphs one-to-one based on the
Unicode cmap in this <code>Font</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#decode(java.lang.String)">decode</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str)</code></th>
<td class="colLast">
<div class="block">Returns the <code>Font</code> that the <code>str</code>
argument describes.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code><a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deriveFont(float)">deriveFont</a></span>​(float size)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> object by replicating the current
<code>Font</code> object and applying a new size to it.</div>
</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deriveFont(int)">deriveFont</a></span>​(int style)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> object by replicating the current
<code>Font</code> object and applying a new style to it.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code><a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deriveFont(int,float)">deriveFont</a></span>​(int style,
float size)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> object by replicating this
<code>Font</code> object and applying a new style and size.</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code><a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deriveFont(int,java.awt.geom.AffineTransform)">deriveFont</a></span>​(int style,
<a href="geom/AffineTransform.html" title="class in java.awt.geom">AffineTransform</a> trans)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> object by replicating this
<code>Font</code> object and applying a new style and transform.</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code><a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deriveFont(java.awt.geom.AffineTransform)">deriveFont</a></span>​(<a href="geom/AffineTransform.html" title="class in java.awt.geom">AffineTransform</a> trans)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> object by replicating the current
<code>Font</code> object and applying a new transform to it.</div>
</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code><a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deriveFont(java.util.Map)">deriveFont</a></span>​(<a href="../../../java.base/java/util/Map.html" title="interface in java.util">Map</a><? extends <a href="../../../java.base/java/text/AttributedCharacterIterator.Attribute.html" title="class in java.text">AttributedCharacterIterator.Attribute</a>,​?> attributes)</code></th>
<td class="colLast">
<div class="block">Creates a new <code>Font</code> object by replicating the current
<code>Font</code> object and applying a new set of font attributes
to it.</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(<a href="../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a> obj)</code></th>
<td class="colLast">
<div class="block">Compares this <code>Font</code> object to the specified
<code>Object</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code><a href="../../../java.base/java/util/Map.html" title="interface in java.util">Map</a><<a href="font/TextAttribute.html" title="class in java.awt.font">TextAttribute</a>,​?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAttributes()">getAttributes</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a map of font attributes available in this
<code>Font</code>.</div>
</td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code><a href="../../../java.base/java/text/AttributedCharacterIterator.Attribute.html" title="class in java.text">AttributedCharacterIterator.Attribute</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAvailableAttributes()">getAvailableAttributes</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the keys of all the attributes supported by this
<code>Font</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>byte</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBaselineFor(char)">getBaselineFor</a></span>​(char c)</code></th>
<td class="colLast">
<div class="block">Returns the baseline appropriate for displaying this character.</div>
</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code><a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFamily()">getFamily</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the family name of this <code>Font</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i25">
<td class="colFirst"><code><a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFamily(java.util.Locale)">getFamily</a></span>​(<a href="../../../java.base/java/util/Locale.html" title="class in java.util">Locale</a> l)</code></th>
<td class="colLast">
<div class="block">Returns the family name of this <code>Font</code>, localized for
the specified locale.</div>
</td>
</tr>
<tr class="altColor" id="i26">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFont(java.lang.String)">getFont</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> nm)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Font</code> object from the system properties list.</div>
</td>
</tr>
<tr class="rowColor" id="i27">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFont(java.lang.String,java.awt.Font)">getFont</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> nm,
<a href="Font.html" title="class in java.awt">Font</a> font)</code></th>
<td class="colLast">
<div class="block">Gets the specified <code>Font</code> from the system properties
list.</div>
</td>
</tr>
<tr class="altColor" id="i28">
<td class="colFirst"><code>static <a href="Font.html" title="class in java.awt">Font</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFont(java.util.Map)">getFont</a></span>​(<a href="../../../java.base/java/util/Map.html" title="interface in java.util">Map</a><? extends <a href="../../../java.base/java/text/AttributedCharacterIterator.Attribute.html" title="class in java.text">AttributedCharacterIterator.Attribute</a>,​?> attributes)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Font</code> appropriate to the attributes.</div>
</td>
</tr>
<tr class="rowColor" id="i29">
<td class="colFirst"><code><a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFontName()">getFontName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the font face name of this <code>Font</code>.</div>
</td>
</tr>
<tr class="altColor" id="i30">
<td class="colFirst"><code><a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFontName(java.util.Locale)">getFontName</a></span>​(<a href="../../../java.base/java/util/Locale.html" title="class in java.util">Locale</a> l)</code></th>
<td class="colLast">
<div class="block">Returns the font face name of the <code>Font</code>, localized
for the specified locale.</div>
</td>
</tr>
<tr class="rowColor" id="i31">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getItalicAngle()">getItalicAngle</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the italic angle of this <code>Font</code>.</div>
</td>
</tr>
<tr class="altColor" id="i32">
<td class="colFirst"><code><a href="font/LineMetrics.html" title="class in java.awt.font">LineMetrics</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLineMetrics(char%5B%5D,int,int,java.awt.font.FontRenderContext)">getLineMetrics</a></span>​(char[] chars,
int beginIndex,
int limit,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns a <code>LineMetrics</code> object created with the
specified arguments.</div>
</td>
</tr>
<tr class="rowColor" id="i33">
<td class="colFirst"><code><a href="font/LineMetrics.html" title="class in java.awt.font">LineMetrics</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLineMetrics(java.lang.String,int,int,java.awt.font.FontRenderContext)">getLineMetrics</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str,
int beginIndex,
int limit,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns a <code>LineMetrics</code> object created with the
specified arguments.</div>
</td>
</tr>
<tr class="altColor" id="i34">
<td class="colFirst"><code><a href="font/LineMetrics.html" title="class in java.awt.font">LineMetrics</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLineMetrics(java.lang.String,java.awt.font.FontRenderContext)">getLineMetrics</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns a <a href="font/LineMetrics.html" title="class in java.awt.font"><code>LineMetrics</code></a> object created with the specified
<code>String</code> and <a href="font/FontRenderContext.html" title="class in java.awt.font"><code>FontRenderContext</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i35">
<td class="colFirst"><code><a href="font/LineMetrics.html" title="class in java.awt.font">LineMetrics</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLineMetrics(java.text.CharacterIterator,int,int,java.awt.font.FontRenderContext)">getLineMetrics</a></span>​(<a href="../../../java.base/java/text/CharacterIterator.html" title="interface in java.text">CharacterIterator</a> ci,
int beginIndex,
int limit,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns a <code>LineMetrics</code> object created with the
specified arguments.</div>
</td>
</tr>
<tr class="altColor" id="i36">
<td class="colFirst"><code><a href="geom/Rectangle2D.html" title="class in java.awt.geom">Rectangle2D</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxCharBounds(java.awt.font.FontRenderContext)">getMaxCharBounds</a></span>​(<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns the bounds for the character with the maximum
bounds as defined in the specified <code>FontRenderContext</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i37">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMissingGlyphCode()">getMissingGlyphCode</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the glyphCode which is used when this <code>Font</code>
does not have a glyph for a specified unicode code point.</div>
</td>
</tr>
<tr class="altColor" id="i38">
<td class="colFirst"><code><a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the logical name of this <code>Font</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i39">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNumGlyphs()">getNumGlyphs</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the number of glyphs in this <code>Font</code>.</div>
</td>
</tr>
<tr class="altColor" id="i40">
<td class="colFirst"><code><a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPSName()">getPSName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the postscript name of this <code>Font</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i41">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSize()">getSize</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the point size of this <code>Font</code>, rounded to
an integer.</div>
</td>
</tr>
<tr class="altColor" id="i42">
<td class="colFirst"><code>float</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSize2D()">getSize2D</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the point size of this <code>Font</code> in
<code>float</code> value.</div>
</td>
</tr>
<tr class="rowColor" id="i43">
<td class="colFirst"><code><a href="geom/Rectangle2D.html" title="class in java.awt.geom">Rectangle2D</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStringBounds(char%5B%5D,int,int,java.awt.font.FontRenderContext)">getStringBounds</a></span>​(char[] chars,
int beginIndex,
int limit,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns the logical bounds of the specified array of characters
in the specified <code>FontRenderContext</code>.</div>
</td>
</tr>
<tr class="altColor" id="i44">
<td class="colFirst"><code><a href="geom/Rectangle2D.html" title="class in java.awt.geom">Rectangle2D</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStringBounds(java.lang.String,int,int,java.awt.font.FontRenderContext)">getStringBounds</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str,
int beginIndex,
int limit,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns the logical bounds of the specified <code>String</code> in
the specified <code>FontRenderContext</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i45">
<td class="colFirst"><code><a href="geom/Rectangle2D.html" title="class in java.awt.geom">Rectangle2D</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStringBounds(java.lang.String,java.awt.font.FontRenderContext)">getStringBounds</a></span>​(<a href="../../../java.base/java/lang/String.html" title="class in java.lang">String</a> str,
<a href="font/FontRenderContext.html" title="class in java.awt.font">FontRenderContext</a> frc)</code></th>
<td class="colLast">
<div class="block">Returns the logical bounds of the specified <code>String</code> in
the specified <code>FontRenderContext</code>.</div>
</td>
</tr>
<tr class="altColor" id="i46">