HighchartsExportingPdfFontOptions class
Settings for a custom font for the exported PDF, when using the
offline-exporting
module. This is used for languages containing
non-ASCII characters, like Chinese, Russian, Japanese etc.
As described in the jsPDF docs, the 14 standard fonts in PDF are limited to the ASCII-codepage. Therefore, in order to support other text in the exported PDF, one or more TTF font files have to be passed on to the exporting module.
See more in the docs.
API Docs: https://api.highcharts.com/highcharts/exporting.pdfFont
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsExportingPdfFontOptions
Constructors
- HighchartsExportingPdfFontOptions.new({String? bold, String? bolditalic, String? italic, String? normal})
-
Settings for a custom font for the exported PDF, when using the
offline-exporting
module. This is used for languages containing non-ASCII characters, like Chinese, Russian, Japanese etc.
Properties
- bold ↔ String?
-
The TTF font file for bold text.
getter/setter pair
- bolditalic ↔ String?
-
The TTF font file for bold and italic text.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- italic ↔ String?
-
The TTF font file for italic text.
getter/setter pair
- normal ↔ String?
-
The TTF font file for normal
font-style
. If font variations likebold
oritalic
are not defined, thenormal
font will be used for those too.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited