CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 06:38:40 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/danfickle/openhtmltopdf.git
etag: W/"2654821c3307f314e5ad771c43845a3d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=V1X%2Bgz7Vv8nO%2BL3kEsHtmlA%2BzVsd9NO1sItVtnD%2FI3DfaO4rWSgoxi1%2BU7kxWo276pbgnQpIE852NVWJtgTmsOfJVyvanRBIA2LT1r%2B6a74XF4jXVheqUjKqNShdlsgCBUgutvg6lypK%2FI7YzaXsqBvuv8VJDaDebxyPnNOqfLFb2PQ3yd8liZT%2F2DLZhvVVAb8ePfCUTgNy8Rvc2MCqvgB1GauyylHKpAIeIel9xdlGgVqNjimxOJx5Fz7F0whMUG1xuc%2BhZUkm3tNg6xSZLA%3D%3D--o91xaXyJnhynIqW%2F--SUXz6v4a4%2FII3Fmh%2FdO7Ow%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.832060729.1753252719; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:38:39 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:38:39 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DF32:D3350:553568:6D5668:6880836F
REFACTOR: Improve performance and memory useage of InlineText class. · danfickle/openhtmltopdf@0cd0989 · GitHub
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/css/style/CssContext.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/extend/TextRenderer.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/BoxBuilder.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/Breaker.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/InlineBoxing.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/LayoutContext.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/LineBreakContext.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/render/InlineBox.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 376
Commit 0cd0989
committed
REFACTOR: Improve performance and memory useage of InlineText class.
Also:
+ Remove code related to painting a selection of text.
+ Fixes to letter-spacing support on last line with trailing space.
+ New proof for letter spacing with Arabic (due to above fix). Hopefully this one is right.1 parent 7c716bc commit 0cd0989Copy full SHA for 0cd0989
File tree
Expand file treeCollapse file tree
14 files changed
+112
-338
lines changedFilter options
- openhtmltopdf-core/src
- main/java/com/openhtmltopdf
- css/style
- extend
- layout
- render
- test/java/com/openhtmltopdf/layout
- openhtmltopdf-examples/src/main/resources/visualtest/expected/text
- openhtmltopdf-java2d/src/main/java/com/openhtmltopdf/java2d
- openhtmltopdf-pdfbox/src/main/java/com/openhtmltopdf/pdfboxout
Expand file treeCollapse file tree
14 files changed
+112
-338
lines changedopenhtmltopdf-core/src/main/java/com/openhtmltopdf/css/style/CssContext.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/css/style/CssContext.java+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
5 | 7 |
| |
6 | 8 |
| |
7 | 9 |
| |
| |||
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/extend/TextRenderer.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/extend/TextRenderer.java+5-9Lines changed: 5 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
| 23 | + | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| |||
32 | 31 |
| |
33 | 32 |
| |
34 | 33 |
| |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 | 34 |
| |
43 | 35 |
| |
44 | 36 |
| |
45 | 37 |
| |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
46 | 42 |
| |
47 | 43 |
| |
48 | 44 |
| |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/BoxBuilder.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/BoxBuilder.java+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
858 | 858 |
| |
859 | 859 |
| |
860 | 860 |
| |
861 |
| - | |
| 861 | + | |
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
| |||
1054 | 1054 |
| |
1055 | 1055 |
| |
1056 | 1056 |
| |
1057 |
| - | |
| 1057 | + | |
1058 | 1058 |
| |
1059 | 1059 |
| |
1060 | 1060 |
| |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/Breaker.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/Breaker.java+16-7Lines changed: 16 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
72 | 73 |
| |
73 | 74 |
| |
74 | 75 |
| |
| 76 | + | |
| 77 | + | |
75 | 78 |
| |
76 | 79 |
| |
77 | 80 |
| |
78 |
| - | |
79 |
| - | |
80 |
| - | |
| 81 | + | |
| 82 | + | |
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
| |||
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
91 |
| - | |
92 |
| - | |
| 93 | + | |
93 | 94 |
| |
94 | 95 |
| |
95 | 96 |
| |
96 | 97 |
| |
97 |
| - | |
98 |
| - | |
| 98 | + | |
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| |||
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
284 | 293 |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/InlineBoxing.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/InlineBoxing.java-2Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 | 164 |
| |
166 | 165 |
| |
167 | 166 |
| |
| |||
958 | 957 |
| |
959 | 958 |
| |
960 | 959 |
| |
961 |
| - | |
962 | 960 |
| |
963 | 961 |
| |
964 | 962 |
| |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/LayoutContext.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/LayoutContext.java+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| 96 | + | |
96 | 97 |
| |
97 | 98 |
| |
98 | 99 |
| |
| |||
375 | 376 |
| |
376 | 377 |
| |
377 | 378 |
| |
| 379 | + | |
378 | 380 |
| |
379 | 381 |
| |
380 | 382 |
| |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/LineBreakContext.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/layout/LineBreakContext.java-9Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
| |||
132 | 131 |
| |
133 | 132 |
| |
134 | 133 |
| |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 | 134 |
| |
144 | 135 |
| |
145 | 136 |
| |
|
openhtmltopdf-core/src/main/java/com/openhtmltopdf/render/InlineBox.java
Copy file name to clipboardExpand all lines: openhtmltopdf-core/src/main/java/com/openhtmltopdf/render/InlineBox.java+1-10Lines changed: 1 addition & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 |
| - | |
26 | 24 |
| |
27 | 25 |
| |
28 | 26 |
| |
| |||
73 | 71 |
| |
74 | 72 |
| |
75 | 73 |
| |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 74 | + | |
79 | 75 |
| |
80 | 76 |
| |
81 |
| - | |
82 | 77 |
| |
83 | 78 |
| |
84 | 79 |
| |
| |||
503 | 498 |
| |
504 | 499 |
| |
505 | 500 |
| |
506 |
| - | |
507 |
| - | |
508 |
| - | |
509 |
| - | |
510 | 501 |
|
You can’t perform that action at this time.
0 commit comments