Post Gironde moved to Crocit looks like some people are having trouble launching new KeplerParamBox with KeplerParamCompareFrame.
check your celestia.cfg at font level (fonts for Celestia)
I have this:
Code: Select all
# -----------------------
SmallFont "sans10.txf"
Font "sans12_ru.txf"
LabelFont "sans14_ru.txf"
TitleFont "sansbold20_ru.txf"
In addition the fonts names are declared in utils / textlayout.lua for use in LUT5
For using new KeplerParamBox you must have this in textlayout.lua
Code: Select all
textlayout.getfonts =
function(this)
-- Use preferably 'sansbold20.txf' as titlefont.
titlefont = celestia:loadfont("fonts/sansbold20.txf")
if not titlefont then
-- If 'sansbold20.txf' is not available, then use titlefont defined in celestia.cfg.
titlefont = celestia:gettitlefont()
end
-- Use preferably 'sans14.txf' as labelfont.
labelfont = celestia:loadfont("fonts/sans14_ru.txf")
if not labelfont then
labelfont = normalfont
end
-- Use preferably 'sans12.txf' as normalfont.
normalfont = celestia:loadfont("fonts/sans12.txf")
if not normalfont then
-- If 'sans12.txf' is not available, then use normalfont defined in celestia.cfg.
normalfont = celestia:getfont()
end
-- Use preferably 'sans10.txf' as smallfont.
smallfont = celestia:loadfont("fonts/sans10.txf")
if not smallfont then
smallfont = normalfont
end
end
here is the file 'textlayout.lua' modifié. The file is in lua-applications/lua_universal_tools_v5/utils
And the fonts for Celestia
Added after 2 hours 33 minutes:Precision:
the KeplerParamBox module with the Compare function is not an official Lut5 update.
This is a personal work that will be tested by Croc and it is he who will distribute the final version.
Nevertheless, you can test it too and make your comments and suggestions.