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

[Docker/Reporting] Stack Docker image doesn't provide enough language fonts for Reporting screen captures #70889

Closed
tsullivan opened this issue Jul 6, 2020 · 7 comments · Fixed by #74806
Assignees
Labels
Team:Operations Team label for Operations Team

Comments

@tsullivan
Copy link
Member

Kibana version: 7.6.2
Original install method (e.g. download page, yum, from source, etc.): stack Docker image
Describe the bug:
Dashboards with text in some Asian languages will be unavailable in Reporting, if the OS does not have the necessary language fonts provided.

Steps to reproduce:

  1. Set up Kibana with the stack docker image: docker.elastic.co/kibana/kibana:7.6.2
  2. Create a Markdown visualization
  3. Paste the text from selecting a language in Wikipedia into the Markdown.

Save the visualization and create a PNG report.

Expected behavior:
The visualization should look the same way it does in the user's browser. Instead, a few Asian language text is unavailable.

Screenshots (if relevant):
Kibana UI:
image

The generated report:
image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

@tsullivan tsullivan added the Team:Operations Team label for Operations Team label Jul 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@tsullivan
Copy link
Member Author

Additional context: there is an effort in Cloud to use the stack image instead of a custom one. It makes this issue necessary for providing full language support for Reporting in Cloud.

@tylersmalley
Copy link
Contributor

@tsullivan is the issue we're missing some/all of these dependencies mentioned in https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-dependencies?

@tsullivan
Copy link
Member Author

@tylersmalley in looking at that doc once more, it doesn't look like the "Debian/Ubuntu" section has much listed for international fonts. It could be missing from the documentation.

@jbudz
Copy link
Member

jbudz commented Jul 7, 2020

apt-get install fonts-noto fonts-noto-cjk fonts-indic

  1. noto
  2. indic

@tsullivan
Copy link
Member Author

@jbudz can you confirm those are Debian distro instructions that should also be written into the documentation for setting up Reporting? https://www.elastic.co/guide/en/kibana/current/reporting-troubleshooting.html#reporting-troubleshooting-system-dependencies

How do the changes get rolled out to the image? Is there a process for it or are you already driving it? 😃

@jbudz
Copy link
Member

jbudz commented Jul 14, 2020

Ah yeah those are psuedo-code. Definitely will depend on the distro whether those are available, I can check our docker images. I can take this after tomorrow.

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

Successfully merging a pull request may close this issue.

4 participants