[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports#235516
Merged
andrimal merged 12 commits intoelastic:mainfrom Sep 23, 2025
Merged
[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports#235516andrimal merged 12 commits intoelastic:mainfrom
andrimal merged 12 commits intoelastic:mainfrom
Conversation
Contributor
💚 Build Succeeded
Metrics [docs]
History
|
markov00
approved these changes
Sep 22, 2025
Contributor
markov00
left a comment
There was a problem hiding this comment.
perfect, simple and working! Thanks Andreana
Contributor
|
Starting backport for target branches: 8.18, 8.19, 9.0, 9.1 |
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 23, 2025
…d visualization reports (elastic#235516) ## Summary Fix elastic#217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. (cherry picked from commit 20aa36d)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 23, 2025
…d visualization reports (elastic#235516) ## Summary Fix elastic#217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. (cherry picked from commit 20aa36d)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 23, 2025
…d visualization reports (elastic#235516) ## Summary Fix elastic#217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. (cherry picked from commit 20aa36d)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 23, 2025
…d visualization reports (elastic#235516) ## Summary Fix elastic#217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. (cherry picked from commit 20aa36d)
Contributor
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Sep 23, 2025
…ard and visualization reports (#235516) (#236043) # Backport This will backport the following commits from `main` to `9.1`: - [[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)](#235516) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Andreana Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-09-23T08:01:38Z","message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Reporting:Screenshot","backport:version","v9.2.0","v8.18.8","v8.19.5","v9.0.8","v9.1.5"],"title":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports","number":235516,"url":"https://github.com/elastic/kibana/pull/235516","mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.19","9.0","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/235516","number":235516,"mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},{"branch":"8.18","label":"v8.18.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Andreana Malama <andreana.malama@elastic.co>
kibanamachine
added a commit
that referenced
this pull request
Sep 23, 2025
…ard and visualization reports (#235516) (#236042) # Backport This will backport the following commits from `main` to `9.0`: - [[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)](#235516) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Andreana Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-09-23T08:01:38Z","message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Reporting:Screenshot","backport:version","v9.2.0","v8.18.8","v8.19.5","v9.0.8","v9.1.5"],"title":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports","number":235516,"url":"https://github.com/elastic/kibana/pull/235516","mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.19","9.0","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/235516","number":235516,"mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},{"branch":"8.18","label":"v8.18.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Andreana Malama <andreana.malama@elastic.co>
kibanamachine
added a commit
that referenced
this pull request
Sep 23, 2025
…oard and visualization reports (#235516) (#236041) # Backport This will backport the following commits from `main` to `8.19`: - [[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)](#235516) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Andreana Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-09-23T08:01:38Z","message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Reporting:Screenshot","backport:version","v9.2.0","v8.18.8","v8.19.5","v9.0.8","v9.1.5"],"title":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports","number":235516,"url":"https://github.com/elastic/kibana/pull/235516","mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.19","9.0","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/235516","number":235516,"mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},{"branch":"8.18","label":"v8.18.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Andreana Malama <andreana.malama@elastic.co>
kibanamachine
added a commit
that referenced
this pull request
Sep 23, 2025
…oard and visualization reports (#235516) (#236040) # Backport This will backport the following commits from `main` to `8.18`: - [[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)](#235516) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Andreana Malama","email":"andreana.malama@elastic.co"},"sourceCommit":{"committedDate":"2025-09-23T08:01:38Z","message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Reporting:Screenshot","backport:version","v9.2.0","v8.18.8","v8.19.5","v9.0.8","v9.1.5"],"title":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports","number":235516,"url":"https://github.com/elastic/kibana/pull/235516","mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","8.19","9.0","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/235516","number":235516,"mergeCommit":{"message":"[Reports] Fix text kerning issues in PDF/PNG exports for dashboard and visualization reports (#235516)\n\n## Summary\n\nFix #217287 \n\nThis PR fixes the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\nExample before: \n<img width=\"984\" height=\"356\" alt=\"Screenshot 2025-09-19 at 2 36 11 PM\"\nsrc=\"https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0\"\n/>\n\nExample after: \n<img width=\"981\" height=\"351\" alt=\"Screenshot 2025-09-19 at 2 36 41 PM\"\nsrc=\"https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a\"\n/>\n\n## Reports\n\nDashboard to test: \n\n[dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt)\n\nBefore: \n- Dashboard:\n[dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf)\n- TSVB metric chart:\n[tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf)\n- Lens metric chart:\n[lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf)\n- Lens bar chart:\n[lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf)\n\n\nAfter:\n- Dashboard:\n[dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf)\n- TSVB metric\nchart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf)\n- Lens metric chart:\n[lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf)\n- Lens bar chart:\n[lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf)\n\n## Release Notes: \n\nFix for the text kerning issues in dashboard/visualization PDF/PNG\nexports, particularly noticeable on Linux OS.\n\n## Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [x] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.","sha":"20aa36d105f338487c3f9401ab77018e4ae4e34e"}},{"branch":"8.18","label":"v8.18.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Andreana Malama <andreana.malama@elastic.co>
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Sep 24, 2025
…d visualization reports (elastic#235516) ## Summary Fix elastic#217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.
niros1
pushed a commit
that referenced
this pull request
Sep 30, 2025
…d visualization reports (#235516) ## Summary Fix #217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.
rylnd
pushed a commit
to rylnd/kibana
that referenced
this pull request
Oct 17, 2025
…d visualization reports (elastic#235516) ## Summary Fix elastic#217287 This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. Example before: <img width="984" height="356" alt="Screenshot 2025-09-19 at 2 36 11 PM" src="https://github.com/user-attachments/assets/9abd6dc2-7784-4962-b17b-debe7f4b75e0" /> Example after: <img width="981" height="351" alt="Screenshot 2025-09-19 at 2 36 41 PM" src="https://github.com/user-attachments/assets/5acbad5a-86ef-4295-b715-1c81c1c91e7a" /> ## Reports Dashboard to test: [dashboard_test_for_screenshot_kerning.ndjson.txt](https://github.com/user-attachments/files/22405598/dashboard_test_for_screenshot_kerning.ndjson.txt) Before: - Dashboard: [dashboard_before.pdf](https://github.com/user-attachments/files/22405719/dashboard_before.pdf) - TSVB metric chart: [tsvb_before.pdf](https://github.com/user-attachments/files/22405716/tsvb_before.pdf) - Lens metric chart: [lens_metric_before.pdf](https://github.com/user-attachments/files/22405717/lens_metric_before.pdf) - Lens bar chart: [lens_bar_before.pdf](https://github.com/user-attachments/files/22425733/lens_bar_before.pdf) After: - Dashboard: [dashboard_after.pdf](https://github.com/user-attachments/files/22405561/dashboard_after.pdf) - TSVB metric chart:[tsvb_after.pdf](https://github.com/user-attachments/files/22405555/tsvb_after.pdf) - Lens metric chart: [lens_metric_after.pdf](https://github.com/user-attachments/files/22405553/lens_metric_after.pdf) - Lens bar chart: [lens_bar_after.pdf](https://github.com/user-attachments/files/22425737/lens_bar_after.pdf) ## Release Notes: Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS. ## Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix #217287
This PR fixes the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS.
Example before:

Example after:

Reports
Dashboard to test:
dashboard_test_for_screenshot_kerning.ndjson.txt
Before:
After:
Release Notes:
Fix for the text kerning issues in dashboard/visualization PDF/PNG exports, particularly noticeable on Linux OS.
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:*label is applied per the guidelinesbackport:*labels.