You are not logged in.

#1 2014-07-02 16:37:32

KSV7R
Member
Registered: 2014-07-02
Posts: 8

[solved]LUAKIT page zoom

Hello ,

My screen size "1920x1080" and luakit have very very small font size.I can change font size '+' , '-' or 'zi','zo' key binds but that is not my wanted.If i use these bind , just change font size but I want page zoom like firefox 'CTRL +' key bind.

Thanks

Last edited by KSV7R (2014-07-02 18:46:25)

Offline

#2 2014-07-02 18:46:00

KSV7R
Member
Registered: 2014-07-02
Posts: 8

Re: [solved]LUAKIT page zoom

I solved.

Firstly we must edit rc.lua and add this code after require "webview"

webview.init_funcs.set_default_zoom = function (view, w)
  view.full_content_zoom = true -- optional
  view.zoom_level = 1.5 -- a 50% zoom
end

look this
Frequently Asked Questions

Offline

Board footer

Powered by FluxBB