• Show convenient version of this site
  • Deutsch
  • English
Contact
Newsletter
  • Products
    • ALS
      • Across Language Server
        • Translation Management
        • Terminology Management
        • Translation Memory
      • Editions
      • Interfaces
    • ATE
      • Across Translator Edition
      • Editions
      • Download
      • Across Account
    • Elanion
      • Overview
      • Login
  • Solutions
    • Customers
      • Enterprises
      • Language Service Providers
      • Translators
    • Industries
      • E-Commerce & Trade
      • Pharmaceuticals & medicine
      • IT & Software
    • Departments
      • Marketing & E-Commerce
      • Technical Documentation
      • Software User Interfaces
  • Services
    • Hosting
    • Training
    • Consulting
  • Partners
    • Language Service Providers
    • Universities
    • Organisations
  • Company
    • Across Systems
    • News
    • Events
    • Career
    • Contact
  • Knowledge
    • Blog
    • Video Library
    • Case Studies
    • White Papers
    • Fact Sheets
    • File Formats
    • Expert Features
  • Support
    • Online Help
    • FAQ
    • Support Request
    • Updates
    • New Functions
Schedule Consultation
  • Online-Help
  • SDK
  • Display Texts
  • The display text format
  • DT-XML format structure
  • Children of the sizeInfos element
  • General Information
    • Connectors
    • LCIDs
    • GUIDs
    • Paragraph states and flags
    • crossTerm Web
    • crossTransform
      • crossTransform - examples
  • Connecting Third-party Systems
    • crossConnect for content systems
      • Requirements
      • Configuration
        • Configuring the connector
        • Job configuration
        • Testing crossConnect
      • Troubleshooting
    • crossConnect for External Editing
      • Purpose and usage
        • Use case - Machine translation
        • Use Case - Review and QA
        • Use case - Machine review
      • Requirements
      • Implementation
        • Across XLIFF format
          • Across-specific Extensions
          • <xliff> Element Attributes
          • <file> Element Extensions
          • <trans-unit> Element Extension
          • Paragraph States
          • Paragraph State Flags
          • <source> and <target> Element Content
          • <bpt> Element Attributes
          • <ph> Element Attributes
          • <x> Element Attributes
          • Across-specific Properties
          • Analysis Results
          • Sample Files
          • Across XLIFF - import, export and segmentation
          • Context information
          • Exporting best matches in Across XLIFF
          • Hyperlinks to XLIFF
        • Secure file handling with C#
        • Secure file handling with JAVA
        • Workflow and vendor configuration
          • Adding workflows to crossAutomate Host Manager
          • Adjusting preset watchfolders
          • The filter rules
          • External editing workflows
        • Sample code - Integrated solution
    • Generic File Connector
      • Process Overview
      • Exchange Folder Structure
      • Package Format
        • Control File
  • Display Texts
    • Solution approaches
    • The Across solution in detail
    • Requirements
    • Integration
    • The display text format
      • Line height vs. line spacing
      • DT-XML format structure
        • DT-XML - Main elements
        • Children of paragraphStyles and characterStyles
        • Children of the sizeInfos element
        • Children of the paragraph element
        • DT-XML v5 example
        • DT-XML v4 example
    • The display text package
      • Creating a display text package
  • APIs
    • APIs - Technology
    • crossTank API v1
      • Requirements
      • Testing the crossTank API installation
      • OData-URLs in Chrome
      • Example
    • crossTank API v2
      • Requirements
      • QuickStart
        • Searching for Translations
        • Creating Translations
      • crossTank API v2 Overview
        • Finding Translations
        • Creating Translations
        • Translation Properties
        • Formatting and Auto-Adjustment of Formatting and Numbers
      • C# Example
    • crossTerm API v1
      • Scenarios of use
        • Example - usage information
        • Example - finding terms
      • Requirements
      • Special Controllers
      • OData-URLs in Chrome
      • crossTerm API with C#
      • crossTerm API with Java
      • crossTerm API with JavaScript
    • crossTerm API v2
      • Requirements
      • QuickStart
        • Authentication Basics
        • First Request Examples
      • crossTerm API v2 Example in C#
        • Used Functions
      • crossTank API, crossTerm API v2 - Authentication
      • crossTerm API v2 - Examples of Use
        • Finding Terms of Entry
        • Searching Terminology via API
    • crossAPI SI
      • Requirements
      • Function Return Types
      • crossAPI SI and Java
        • Example: hot integration
        • Executing the hot integration example
      • List of Objects in crossAPI SI
        • AssignManager
        • Authorization
        • CheckInManager
        • CheckOutManager
        • CrossTankManager
        • CrossTermManager
        • DocumentManager
        • FileManager
        • LanguageJobManager
        • LanguageManager
        • LicenseManager
        • Message
        • ObjectManager - Overview
          • Part 1
          • Part 2
          • Part 3
        • ReportManager
          • ID values for analysis and analysis-result
        • ProjectManager - Overview
          • Part 1
          • Part 2
          • Attribute Information
        • SqlQuery
        • SystemManager
        • TaskManager
        • WanGridManager - Overview
          • Part 1
          • Part 2
      • Sample - transferring checkout files via FileManager
      • Sample - VBS
    • Text Preprocessing API
      • Introduction
      • How to browse the API
      • Sentence splitting
      • Abbreviations

Children of the sizeInfos element

sizeInfo element

Description
Parent element
Child elements
No. of occurrences
<sizeInfo id: NonEmptyString>
Content: (lines?, width?, height?,
lineSpacing?, wordwrap?)
</styleInfo>
sizeInfos
lines
width
height
lineSpacing
wordwrap
kerning
dpiX
dpiY
engine
One or more

Note that the attribute id value should be unique because it's a key value.

Example 1:

<sizeInfoid="sizeinfo2"><width>420 sym</width><height>130px</height><lineSpacing>1</lineSpacing><wordwrap>true</wordwrap></sizeInfo>

Example 2:

<sizeInfoid="sizeinfo2"><lines><line><width>20 px</width></line><line><width>100 px</width></line></lines><wordwrap>true</wordwrap></sizeInfo>

lines element

Defines a display configuration with variable length of lines. Height of a display is defined in sym and equal to amount of line elements.

Description
Parent element
Child element
No. of occurrences
<lines>
Content:(line+)
</lines>
sizeInfo
line
None or once

In case lines is defined and contains one or more line descriptions, the height of sizeInfo is ignored.

The width of all child line elements should be defined in the same measurement units.

line element

Description
Parent element
Child element
No. of occurrences
<line>
Content:(width)
</line>
lines
width
Unlimited

width and height element

Those elements are for usage of symbols in dimensions for mono-spaced fonts.

Description
Parent element
No. of occurrences
<width>
Content:(positive double,(px|sym)?)
</width>
sizeInfo or line
Once
<height>
Content:(positive double,(px|sym)?)
</height>
sizeInfo
Tip

In case not a mono-spaced font is used or the text contains format ranges: No frame is shown in the preview picture, but delta (how much symbols left/over) for each line is shown instead.

lineSpacing element

Height of a text line. If some symbols take more space, lineSpacing is ignored.

Description
Parent element
Child element
No. of occurrences
<lineSpacing>
Content: (positive integer, (px)?)
</lineSpacing>
sizeInfo
-
None or once
See also:
Line height vs. line spacing

wordwrap, kerning, dpi and engine elements

 
Description
Parent element
No. of occurrences
wordwrap
Defines whether word-wrap is enabled or not.
<wordwrap> 
Content: (true|false|0|1):false
</wordwrap>
sizeInfo
None or once
kerning
Defines whether kerning is enabled or not.
<kerning> 
Content: (true|false|0|1):false
</kerning>
dpiX
The display horizontal text resolution.
<dpiX>
Content:(positive double)
</dpiX>
dpiY
The display vertical text resolution.
<dpiY> 
Content:(positive double)
</dpiY>
engine
Rendering engine name. If not specified, the default Display Texts plugin is used.
<engine>
Content:(String)
</engine>

Example:

<sizeInfoid="sizeinfo2"><width>420 sym</width><height>130px</height><kerning>false</kerning><dpiX>72</dpiX><dpiY>72</dpiY><engine>MyRenderingEngine</engine></sizeInfo>
Register for our Newsletter now

Our newsletter provides you with exclusive news about the Across Language Server, often even before the official announcement. The newsletter also provides you with early information on events, webinars, and training sessions.

  • Legal Notice
  • GTC
  • Privacy Statement
  • Cookies
  • info@across.net