cxhttt233 opened a new issue, #8528:
URL: https://github.com/apache/hop/issues/8528

   ### Apache Hop version?
   
   2.20.0-SNAPSHOT-20260922
   
   ### Java version?
   
   21
   
   ### Operating system
   
   Docker
   
   ### What happened?
   
   In the latest Hop Web, CJK text on the Pipeline / Workflow canvas has 
compressed character spacing.
   
   This appears after the SVG `textLength` change in #8494.
   
   To reproduce:
   1. Open a Pipeline or Workflow.
   2. Use a Chinese Transform / Action name.
   3. The text spacing is visibly compressed.
   
   Running this in the browser console immediately restores normal spacing:
   
   ```javascript
   document.querySelectorAll('svg text[textLength]')
     .forEach(e => e.removeAttribute('textLength'));
   ```
   
   <img 
src="https://img3.pixhost.cc/images/5885/772945341_hop-cjk-spacing.webp"; 
alt="CJK text spacing compressed in Hop Web canvas">
   
   It looks like the server-measured width can differ from the browser's CJK 
fallback font width, while SVG `textLength` forces the browser to fit the text 
to that width.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Hop Web
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to