Opened 17 years ago

Closed 17 years ago

#526 closed defect (fixed)

Stylization: RS_FontDef needs to include a charset value

Reported by: louisewatson Owned by: louisewatson
Priority: medium Milestone: 2.2
Component: Rendering Service Version: 2.0.0
Severity: major Keywords:
Cc: External ID: 1021652

Description

The RS_FontDef class does not store a charset value. This value may be needed for font selection on some platforms. Also, the "\f" op-code of the mtext markup language includes a charset designation which currently cannot be stored.

Change History (2)

comment:1 by louisewatson, 17 years ago

Owner: changed from Louise Watson to louisewatson
Status: newassigned

comment:2 by louisewatson, 17 years ago

Resolution: fixed
Status: assignedclosed

The fix was to define an RS_CharacterSetType enum and add a charset value to RS_FontDef. Note that it is not necessary to use this value when selecting a font. It is simply stored for platforms that require it.

In addition, the mtext parser and ATOM engine were updated to pass a charset value to RichTextEngine for storage.

Note: See TracTickets for help on using tickets.