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

Templateprocessor not apply font for tables #2500

Open
sookoll opened this issue Nov 8, 2023 · 0 comments
Open

Templateprocessor not apply font for tables #2500

sookoll opened this issue Nov 8, 2023 · 0 comments

Comments

@sookoll
Copy link

sookoll commented Nov 8, 2023

Describe the Bug

If creating table (without any styles) and injecting it with templateProcessor->setComplexBlock, it will always be in Calibri 10 font, regardless what font is set in template file.

Expected Behavior

Table should be created with font and font size currently set in template file

Current Behavior

Table is created with Calibri 10 font

Context

Please fill in your environment information:

  • PHP Version: 8.0
  • PHPWord Version: 1.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant