From: Steven P. <n9...@n9...> - 2004-03-14 21:33:42
|
On Mar 14, 2004, at 12:59 PM, Roger Binns wrote: > Removing them is not the right fix for this. Those listings of base > size need to be exactly 7 items long and should correspond to the > 7 sizes used in the wxWidgets code. They are used in a call to > wxHtmlWindow.SetFonts and are listed because there isn't a > wxHtmlWindow.GetFonts. Please read that documentation. Sorry to get pissy, but it's horribly frustrating when something is supposed to be "cross-platform" and you end up having to put in so many little exceptions for this that and the other thing. If there are platform differences, it SHOULD be handled transparently by the relevant libraries, not the end applications. With wxWidgets this is simply not the case, and it's infuriating at times. > I think this is the list of base sizes for the Mac: > > #define wxHTML_FONT_SIZE_1 9 > #define wxHTML_FONT_SIZE_2 12 > #define wxHTML_FONT_SIZE_3 14 > #define wxHTML_FONT_SIZE_4 18 > #define wxHTML_FONT_SIZE_5 24 > #define wxHTML_FONT_SIZE_6 30 > #define wxHTML_FONT_SIZE_7 36 Call me stupid, but if the base sizes are defined in a given platform's header file, why are they being redefined with arbitrary values in bphtml.py? Or is this something else entirely?? |