PHP - Manual: HaruFont::getUnicodeWidth
2025-10-31
(PECL haru >= 0.0.1)
HaruFont::getUnicodeWidth — Get the width of the character in the font
$character
   ) : intGet the width of the character in the font.
characterThe code of the character.
Returns the width of the character in the font.
发生错误时抛出 HaruException 异常。
 add a note
 add a note
  官方地址:https://www.php.net/manual/en/harufont.getunicodewidth.php