plainheart opened a new pull request, #19170:
URL: https://github.com/apache/echarts/pull/19170

   ## Brief Information
   
   This pull request is in the type of:
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   ### What does this PR do?
   
   Fix the bug that the toolbox text neither applies the specified font style 
nor inherits from the global font style
   
   ### Fixed issues
   
   N.A.
   
   ## Details
   
   ### Before: What was the problem?
   
   The toolbox text doesn't apply the custom fonts.
   
   <img 
src="https://github.com/apache/echarts/assets/26999792/b760e024-5778-4edf-ad34-ccc2dbc8bfe4";
 width="400"> 
   
   
   ### After: How does it behave after the fixing?
   
   <img 
src="https://github.com/apache/echarts/assets/26999792/8335e40e-1c13-4863-9fff-4fc604b88eda";
 width="400">
   
   ## Document Info
   
   One of the following should be checked.
   
   - [x] This PR doesn't relate to document changes
   - [ ] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   ## Misc
   
   ### ZRender Changes
   
   - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).
   
   ### Related test cases or examples to use the new APIs
   
   Please refer to the second test case in `test/toolbox-textStyle.html`
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merging.
   
   ### Other information
   
   It would be better to use `label#createTextStyle` to support more text style 
and extract the `textStyle` option from the current `iconStyle` in the future.
   


-- 
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: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to