How is "character unit" defined?

Regina Henschel 201 Reputation points
2024-08-06T17:37:34.77+00:00

The OOXML standard (part 1) uses the term "character unit" in various places, for example in the definition of attribute firstLineChars. But it does not define the term "character unit". The file [MS-DOCX] has neither a definition.

CSS has for <length> several font related units, see https://developer.mozilla.org/en-US/docs/Web/CSS/length#relative_length_units_based_on_font

What does Word use, especially when considerate non-Latin scripts?

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
137 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tom Jebo 1,996 Reputation points Microsoft Employee
    2024-08-06T21:35:48.1166667+00:00

    Hi Regina Henschel,

    The "character unit" used here comes from RTF and binary MS-DOC and refers to twips. I had this question back in 2011 about RTF/MS-DOC but didn't realize its in ISO 29500 as well. I have to confirm first even thought I believe this is the case and then I'll see if the ISO Standard committee would agree to add a note.

    Thanks for bringing this to our attention.

    Best regards,
    Tom Jebo
    Microsoft Open Specifications Support


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.