h6. [[ColourTrans]] h6(. » [[ColourTrans SWI Calls|SWI Calls]] h6((. » ColourTrans_SetFontColours h2. ColourTrans_SetFontColours h5. (SWI &4074F) |_<^{width:3em}. Entry | | |<^. R0|<^. Font handle, or 0 for current font | |<^. R1|<^. Background palette entry | |<^. R2|<^. Foreground palette entry | |<^. R3|<^. Maximum foreground colour offset (0-14) | |_<^{width:3em}. Exit || |<^. R0 |<^. Preserved| |<^. R1 |<^. Background logical colour (preserved if in 256 colour mode)| |<^. R2 |<^. Foreground logical colour| |<^. R3 |<^. Maximum sensible colour offset (up to R3 on entry)| h4. Use This purpose of this call is to calculate the best range of anti-aliasing colours and assign these as the colours to use by the [[FontManager|Font Manager]]. h4. Notes Given a pair on palette entries, it calculates the best available range of anti-aliasing colours in the current palette. h4. See also * [[ColourTrans_ReturnFontColours]] * [[ColourTrans_SetColour]] * [[ColourTrans_SetGCOL]] * [[ColourTrans_SetOppGCOL]] * [[ColourTrans_SetOppTextColour]] * [[ColourTrans_SetTextColour]]