Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel Miniwindow will not use Dina unless it is previously installed #27

Closed
fiendish opened this issue Feb 14, 2014 · 1 comment
Closed

Comments

@fiendish
Copy link
Owner

From enda...@gmail.com on December 18, 2010 16:36:15

Dina is added, but fonts is not reinitialized afterward. If the miniwindow plugin has to add Dina, it will not be used.

local fonts = utils.getfontfamilies ()

-- if not there already, add it
if not fonts.Dina then
AddFont (GetInfo (66) .. "\Dina.fon")
end -- if Dina not installed

header_font_name = "Lucida Console"
header_font_size = 9

if fonts["Courier New"] then
default_font_size = 9
default_font_name = "Courier New"
elseif fonts ["Dina"] then
default_font_size = 8
default_font_name = "Dina" -- the actual font
else
default_font_size = 9
default_font_name = "Lucida Console"
end -- if

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=27

@fiendish
Copy link
Owner Author

From Fiendi...@gmail.com on December 18, 2010 22:21:55

Hah. Well, this would only affect the default font selection, and only for the first plugin that loads. But still, fixed in r239 .

Status: Fixed
Labels: -Type-Enhancement Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant