是否可以計(jì)算對齊方式為“合理”的JRTemplatePrintText中字符串的寬度?我已經(jīng)嘗試使用FontRenderContextAWT,但這僅適用于左對齊的文本。 查看完整描述