Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change default font family? #33

Open
yeonkyungnae opened this issue Mar 6, 2024 · 1 comment
Open

How to change default font family? #33

yeonkyungnae opened this issue Mar 6, 2024 · 1 comment

Comments

@yeonkyungnae
Copy link

yeonkyungnae commented Mar 6, 2024

I want change font family, but there are no options in IStyle.
Can I change default font family?

export type IStyle = {
  height?: number;
  width?: number;
  border?: boolean;
  borderColor?: string;
  background?: string;
  fontSize?: number;
  fontName?: string;
  color?: string;
  bold?: boolean;
  i?: boolean;
  u?: boolean;
  h?: IHorizontal;
  indent?: number;
  shrinkToFit?: boolean;
  textRotation?: number;
  v?: IVertical;
  wrapText?: boolean;
};

image

@jagvaandanzan
Copy link

Actually there is an option to change fontFamily.
fontName?: string;
change it. it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants