If this change is based on this code:

http://code.google.com/p/jpcsp/source/browse/trunk/src/jpcsp/HLE/kernel/types/SceFontInfo.java?spec=svn3350&r=3350#142

Then the following differences may be relevant:
 * ` for (size_t i = 0; i < shadowGlyphs.size(); i++) {` in JPCSP uses `glyphs.size()`.
 * `... FONT_PGF_SHADOWGLYPH, shadowGlyphs[i]);` should use `shadowGlyphs[shadowId]`.

Without those changes this bounds check doesn't make sense.

-[Unknown]