Top Fields Constructors Methods
com.sun.javafx.font.directwrite

public Class DWGlyphLayout

extends GlyphLayout
Class Inheritance
Imports
java.util.Arrays, com.sun.javafx.font.CompositeFontResource, .FontResource, .FontStrike, .PGFont, .PrismFontFactory, com.sun.javafx.scene.text.TextSpan, com.sun.javafx.text.GlyphLayout, .PrismTextLayout, .TextRun

Field Summary

Modifier and TypeField and Description
private static final String
Inherited from com.sun.javafx.text.GlyphLayout:
CANONICAL_SUBSTITUTIONHINTINGLAYOUT_LEFT_TO_RIGHTLAYOUT_NO_LIMIT_CONTEXTLAYOUT_NO_START_CONTEXTLAYOUT_RIGHT_TO_LEFT

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected TextRun
addTextRun(PrismTextLayout layout, char[] chars, int start, int length, PGFont font, TextSpan span, byte level)

Overrides com.sun.javafx.text.GlyphLayout.addTextRun.

private FontResource
private int
getFontSlot(IDWriteFontFace face, CompositeFontResource composite, String primaryFont, int slot)

private int[]
getIndices(short[] clusterMap, int glyphCount, boolean rtl)

private String
getName(IDWriteLocalizedStrings localizedStrings)

private float[]
getPositions(float[] advances, float[] offsets, int glyphCount, boolean rtl)

public void
layout(TextRun run, PGFont font, FontStrike strike, char[] text)

Implements abstract com.sun.javafx.text.GlyphLayout.layout.

private void
renderShape(char[] text, TextRun run, PGFont font, int baseSlot)

Inherited from com.sun.javafx.text.GlyphLayout:
breakRunsdisposegetInitialSlotgetInstance

Field Detail

LOCALEback to summary
private static final String LOCALE

Constructor Detail

DWGlyphLayoutback to summary
public DWGlyphLayout()

Method Detail

addTextRunback to summary
protected TextRun addTextRun(PrismTextLayout layout, char[] chars, int start, int length, PGFont font, TextSpan span, byte level)

Overrides com.sun.javafx.text.GlyphLayout.addTextRun.

Annotations
@Override
checkFontResourceback to summary
private FontResource checkFontResource(FontResource fr, String psName, String win32Name)
getFontSlotback to summary
private int getFontSlot(IDWriteFontFace face, CompositeFontResource composite, String primaryFont, int slot)
getIndicesback to summary
private int[] getIndices(short[] clusterMap, int glyphCount, boolean rtl)
getNameback to summary
private String getName(IDWriteLocalizedStrings localizedStrings)
getPositionsback to summary
private float[] getPositions(float[] advances, float[] offsets, int glyphCount, boolean rtl)
layoutback to summary
public void layout(TextRun run, PGFont font, FontStrike strike, char[] text)

Implements abstract com.sun.javafx.text.GlyphLayout.layout.

Annotations
@Override
renderShapeback to summary
private void renderShape(char[] text, TextRun run, PGFont font, int baseSlot)