[afp-renderer-developers] Funny looking constants in AFPFontReader
Brought to you by:
towny,
tumbarumba
From: Joe S. <jo...@ex...> - 2004-11-12 21:35:37
|
The follow snippet of code was seen in AFPFontReader.java. Maybe there's a logical explanation, but the constant names and the constant values look suspiciously like they've been mixed up. Thoughts? Additionally, they have a naming convention that indicates that they are constants, yet they are not final. Cheers, Joe /** * The conversion factor to millipoints for 240 dpi */ private static int FOP_240_DPI_FACTOR = 300000; /** * The conversion factor to millipoints for 300 dpi */ private static int FOP_300_DPI_FACTOR = 240000; |