Opened 14 years ago

Closed 14 years ago

#3314 closed enhancement (fixed)

Enhance error messages in msGetTruetypeTextBBox()

Reported by: strk Owned by: sdlime
Priority: normal Milestone: 6.0 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

The attached patch slighly enhances error message on gdImageStringFT failure. It's useful to tell which portion of code is failing as the msGetTruetypeTextBBox() function may use different renderers...

Attachments (3)

EnhanceGDFTerrorMessage.patch (513 bytes ) - added by strk 14 years ago.
EnhanceAGGerrorMessage.patch (935 bytes ) - added by strk 14 years ago.
EnhanceGetTFBBox3.diff (950 bytes ) - added by strk 14 years ago.
3rd version, includes font name for GD and avoids using GD-provided string as a format

Download all attachments as: .zip

Change History (7)

by strk, 14 years ago

comment:1 by strk, 14 years ago

Summary: Enhance error message on gdImageStringFT failureEnhance error messages in msGetTruetypeTextBBox()

Second patch adds better handling in AGG font loading (currently fails silently otherwise)

by strk, 14 years ago

by strk, 14 years ago

Attachment: EnhanceGetTFBBox3.diff added

3rd version, includes font name for GD and avoids using GD-provided string as a format

comment:2 by sdlime, 14 years ago

Status: newassigned

Just need to apply the 3rd one I take it? Just makin' sure.

Steve

comment:3 by strk, 14 years ago

Yes, only the 3rd.

comment:4 by sdlime, 14 years ago

Milestone: 6.0 release
Resolution: fixed
Status: assignedclosed

Applied 3rd patch in r9815... Closing.

Steve

Note: See TracTickets for help on using tickets.