### ImageMagick version

7.1.1.27

### Operating system

MacOS

### Operating system, version and so on

Ventura

### Description

I was running the example at https://imagemagick.org/Usage/text/#pango_markup  and I get an error message.  This may be in pango.  But I thought I would check.  There is one strange factor that may be related.  I install my delegates from MacPorts.  When I check my delegates, I see both Cairo and CairoPango listed.  Is it possible that Imagemagick is getting confused with both installed?

```
magick -background lightblue \
pango:'  Some  <span size="49152" rise="-20480" foreground="red" background="blue"> Big Red on Blue </span>  Text  ' \
pango_span.gif

Assertion failed: (tmp.table_size - hash_table_sizes < ARRAY_LENGTH (hash_table_sizes)), function _cairo_hash_table_manage, file cairo-hash.c, line 286.
Abort trap: 6

```
<br>

Here are my delegates:

```
magick -version
Version: ImageMagick 7.1.1-27 Q16-HDRI aarch64 21931 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules 
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps raw rsvg tiff webp x xml zlib zstd
Compiler: gcc (4.2)
```



### Steps to Reproduce

See above

### Images

_No response_
Possible bug running PANGO
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Possible bug running PANGO
Issue date:

--- start body ---
### ImageMagick version

7.1.1.27

### Operating system

MacOS

### Operating system, version and so on

Ventura

### Description

I was running the example at https://imagemagick.org/Usage/text/#pango_markup  and I get an error message.  This may be in pango.  But I thought I would check.  There is one strange factor that may be related.  I install my delegates from MacPorts.  When I check my delegates, I see both Cairo and CairoPango listed.  Is it possible that Imagemagick is getting confused with both installed?

```
magick -background lightblue \
pango:'  Some  <span size="49152" rise="-20480" foreground="red" background="blue"> Big Red on Blue </span>  Text  ' \
pango_span.gif

Assertion failed: (tmp.table_size - hash_table_sizes < ARRAY_LENGTH (hash_table_sizes)), function _cairo_hash_table_manage, file cairo-hash.c, line 286.
Abort trap: 6

```
<br>

Here are my delegates:

```
magick -version
Version: ImageMagick 7.1.1-27 Q16-HDRI aarch64 21931 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules 
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps raw rsvg tiff webp x xml zlib zstd
Compiler: gcc (4.2)
```



### Steps to Reproduce

See above

### Images

_No response_
--- end body ---
