gitbrent / PptxGenJS

Create PowerPoint presentations with a powerful, concise JavaScript API.
https://gitbrent.github.io/PptxGenJS/
MIT License
2.62k stars 611 forks source link

[Question]How to set the east asia theme font #1288

Open toramameseven opened 10 months ago

toramameseven commented 10 months ago

Issue Category

Product Versions

Desired Behavior

I want set east Asian fonts to theme( slide master).

Observed Behavior

I can set Theme fonts to the ThemeProps. But I can not set east Asian fonts to the theme.

export interface ThemeProps {               
    /**         
     * Headings font face name          
     * @example 'Arial Narrow'          
     * @default 'Calibri Light'         
     */         
    headFontFace?: string           
    /**         
     * Body font face name          
     * @example 'Arial'         
     * @default 'Calibri'           
     */         
    bodyFontFace?: string           
}               

when I set Arial to bodyFontFace and headFontFace, the result is next.

image

I want to set East Asian font, thank you.