Hello everyone, welcome newcomers here in our room of Lightning Talks. Please welcome Albert
with next talk about ocular.
Hello, yeah, this one is cool, I hope you can hear me. So, yeah, I'm Albert, Albert actually
in Catalan, I'm going to talk about ocular, the multiple form of the document viewer, a bit
of me, I'm going to skip this because this is a line talk, but I'm an old person, right?
You had a young person before, I'm much older than him, I'm been doing KD staff since 2003,
right? So, yeah, many things, I've done many things not because I'm good, just because
I'm old. So, today, I'm going to talk about ocular, what's ocular, right? So, ocular, it's
a KD project, it doesn't mean much to you, but it's free software, right? We're here, everything
is free software, it's good. It's a multi-document document viewer, it's a multi-platform document
viewer, it's translated to more than 40 languages, right? This is one of the good things about
fees software, people often overlook this. You will never have enough reader translation
to swahili, right? Because the other people don't care about swahili. We don't have a
translation to swahili either, but if as well it's a swahili person, it's in the room, we
can have it tomorrow, right? So, there is no business reason to not have it because we are
not a business, right? We're also the first ever e-cursorified software by Bluengell, Bluengell
is a German something, I don't know, I'm not German, it's a government thing, right? So,
they decided at some point they were going to do ecologic certification for software and
we are the first one. So, yeah, they first. What are we not, right? We are not a document editor,
but we people very often ask, I want to rotate pages, I want to remove pages, I want to mix
documents, that's not what we do, right? It's very useful to know what you are, and it's
very useful to know what you are not. So, you can close issues, it's like, sorry, we don't do
this, right? It goes somewhere else. That's a bit of a lie, you'll see later we do some kind
of the document editing, but as a guideline, we are not that. So, formats, we do PDF and we
do more things, right? Nobody else cares about the more things, right? I mean, some people do,
but like if you have to measure about the box, we got 95% of the box, about PDF, 5%
in box, about something else. And that's fine, right? We do text, right? You wouldn't
want to open text with, uh, popular, but it works, right? It's easy, so we did it, uh, and I
used to realize I didn't translate it, it recognized here, as you can see, I've reused this
from a Spanish talk, that means images, you're over this market. Uh, but else, it's
multi-platform, right? And it's really multi-platform. Uh, we in KDE, we use a library called
Qt, and Qt is available basically everywhere, right? So, uh, we are, we work in Linux, and then on
the other things that aren't Linux, but kind of our Linux, right? So, uh, 3b.sd, open.b.sd,
need b.sd, uh, and things. Uh, we work on class mobile, so, I mean, I mean, I mean, class
mobile, I mean, Linux mobile, right? So, we have a different UI for mobile, because, like, if
you're in this, you don't want to have the same thing in your laptop, uh, it works on Windows,
it works on Android, it works on OSX. So, I mean, it doesn't work on iPhone, uh, and it could work,
nobody has, hasn't done it, right? I mean, there is, there is, there is Qt for an, uh, for
iPhone, there's KDE software for iPhone, we could work, I just don't have an iPhone, so I don't care.
Uh, I mean, it's, it's how it is, right? Uh, so features, as a, as a PDF, it's actually
document viewer, I mean, it has all, sorry, features one, that features two, uh, features. Uh,
it has all the typical features you would expect, right? So, like, you can open a document,
you can scroll a document, you can search the document. Uh, we have a kind of more advanced
features, uh, the most famous one, maybe it's, we do have digital signature, right? In this
day and age, governments want you to send them, uh, signed PDFs, right? So, we support digital
signature, you can add to this digital signature, as far as we know, it works, everybody, everywhere,
right? Like, it's a bit hard to set up sometimes, because digital signatures are not easy, but you
can sign a PDF, send it to your government, and they will mostly accept it, right?
Sometimes not, because people just want to see the signature, like, not the actual digital
signature, just the graphical one and, and we don't do that. So, you have to tell them, no,
no, it's actually signed, like, there's much behind it. Uh, yeah, it works. You can do annotations,
right? So, you can do, like, uh, commons and arrows and whatever, you can feel firms, so you can
possibly do your taxes, uh, sometimes not, but it mostly works, and then the easy things, right? So,
you have miniatures in the left, you have a table of contents, you can have links, blah, blah.
More features, uh, you can't rotate the pages, uh, if you're, uh, late at geek, you can do
in their search. I don't know what it means, but I think it means you can go, like, switch,
easily back between the PDF and the later source code of the PDF. Uh, and then you can do things,
I know you, you probably don't know much about PDF, and that's good. You will be a happier person,
but PDF has lots of things. You can have embedded files, you can have videos, you can have sound,
you can have many, many things. So, we support some of those, we don't support anything,
everything, because the PDF is picked is like 2,000 pages long and we don't have that much time.
But yeah, we do try to support most of the things, and then we support different view modes,
uh, the easy ones, right? So, they can have either continuous or, like, big end pages,
bookmarks, presentation mode, right? I'm using Ocular. Uh, we have the best feature, feature,
ever, in presentation mode, which is this, uh, little ground thing in the top. You know,
how much I am to the presentation. So, if it's very boring, it's like, okay, the guy is going to finish
early, right? I mean, you also know it because it's a lightning talk, but if it wasn't a lightning
talk, you'd know, I mean, page H, almost done. Uh, future work. Uh, so about future work, we need
to work better with digital signatures, right? Now, we are basically getting the digital signatures
from your Firefox installation, but, uh, the definition of what your Firefox installation is,
it's kind of weird, because you can have many Firefox installations in your computer,
so we basically just do this, and like, go to a folder, it's like, it's going to be these.
Mostly it works, sometimes it doesn't, right? So, I had people's like, it doesn't find my signatures,
and then I have to tell them, go here, remove everything, install Firefox again, and it's like,
not very, it's a bit combustion, right? So, we have to improve that. We have to move to the 20th
century, uh, for printing, we are doing this very weird thing in which we, when you get a PDF,
and you want to print it, we convert it to post-crip, and then we print it, and that's because,
like, 40 years ago, printers only understood post-crip, right, the PS files, like, in the modern world,
all the printers understand PDF, right? So, so we're doing this weird thing, which we get a PDF,
we convert it to PS, and we send it to your printer, your printer, you convert it to PDF, and then
print it. So, yeah, that sounds good, but printing is annoying, because it's very hard to test,
and you have to kill lots of trees, so we haven't changed it yet. We have to do marble
to threading, at this point, we are running like in two threads, but like this computer is like
10 years old, and it has like 10 cores, right? So, we need to do marble to threading,
it's just like multi-threading is hard, so we haven't done it. We have to support
better JavaScript in PDF files. So, as I mentioned before, for the forums, right? So, the
forums is a typical, you want to do your taxes, and it has like, I earned this amount of money,
there's like 20% taxes on it, so I have to pay that person, right? And PDF files have a way of
embedding JavaScript on it, and we'll do the calculation for you, right? So, you don't have to
multiply by 20% because you're not very smart, and you will fail. So, well, that kind of works,
most of the times, until you run out of like the PDF German, and the comma is the dot,
and the dot is the comma, and everything gets confusing. So, we have to do better in that,
and we want, well, we don't want it, people want more complex views, right? So, people want to have
side-by-side views, and side-by-side is very nice, until you have to think about it, right,
because we have the Zoom person touch on the top, right, and I'm going to show it to you. So,
we have this thing which is the Zoom on the top right, right? If you have two side-by-side pages,
well, what does the Zoom apply to, right? Like, when people ask for it, they don't think about
the corner cases, right? Yeah, I want some by side-by-side. Well, well, sure, we have a whole application,
and a lot of comma, how does that apply to side-by-side? And nobody knows, so we haven't done it yet.
One thing we might do, and it's not super hard, it's PDF link preview, right? So, it's sometimes
happens that PDF have links to the part of the PDF, and you just want to hover over the link,
and see what it's actually going without going to it. So, we might do that, that doesn't seem
super hard, but yeah, somebody has to do it.
Future work number two. We have to give more love to the non-linear experiment, right? So,
as I mentioned before, we support all the platforms, right? So, we support Mac, and we support Windows,
and we support Android, and blah, blah, blah, but that's kind of a lie. We support Linux, that's what,
like, that's what I use, that what sooner uses, like, so everything else it just works by accident, right?
Which is good, right? It's a testament about the code being robust and everything else,
but yeah, I mean, if you care about the other platforms, show up and make it better, and if you're not, that's fine.
We want to support that thing, I'm not going to try to pronounce, that's the European Union thing
for invoices, right? So, they have this weird thing about invoices, they want invoices to be
machine readable, and PDF is involved, but it's also XML is involved, and PDF, it would surprise you,
PDF is easier than XML, like they have this whole XML monster, you have to run,
access to one, it to do transformations, and there's no access to library on Linux, we only have
access to T1, so yeah, annoying, and then we have lots of feature requests in Bookstay,
the talk, over than 500, usually I don't close feature requests, it's valid, right? So, you
went there, you route something, it's valid, possibly I would possibly also ignore it, but like,
you took your time, so, yeah, and the thing is, we need more time, right? So, either create time for
me, being a good person, or contribute, right? And when I say create time for me, one of the things
about bugs, in particular, or feature requests, is we're all lazy, right? I'm lazy, you're lazy,
that's fine, but there's only one of me, and there's thousands of you, right? So, when you file
a back, make it as good as possible, right? Don't tell me, if you do this in latex, it will fail,
and then you only give me the latex file, just give me the PDF, right? I don't, I don't, I don't
know how to compile latex anymore, I did it 20 years ago, right? So, like, make it as easy as
possible for us doing the work to reproduce your problem, right? Okay, how to write? So, you can't
write in flat hub, right? That's possibly the easiest way, I mean, if you have a modern Linux distribution,
you just just use what your Linux distribution uses, but if you use deviant, don't use deviant, right?
I mean, it's very old, it's very nice, but it has an occular version from three years ago, right?
It has bugs, we have things, I mean, we don't fix many bugs, but we do some work, right? So,
use flat hub, people come to me and say, I can't do digital signature, you're like, it was
there in your features pages, it was like, well, you're using that deviant from 10 years ago,
obviously it doesn't have digital signature. If you're on Windows, you can download it from the Windows
store, I think you can also download it from chocolatey, which is like some pocket manager,
free software kind of thing, I don't know who put it there, I don't know if it has malware,
I hope it doesn't, but I mean, you might like my barrier, right? We do put it on the Windows
store, so we know it's good. If you want to try the Android version, it's on Android, but it's not
on proper Android. So, KD has its own KD Android repository, so you have to Google for that,
or search for it in the internet, and you'll find it. And if you want to use it for Mac,
well, you just have to download it from the CDN, we don't have any actual Mac,
good way of distributing, so you'd use it all the way from the last time I tried it, it did work.
There's a few links, so that's our webpage, that's our GitHub, we do have our own GitHub at KD, right?
So, just do that, we have a matrix channel, and that's it, there's no time for questions,
because I have one minute left, so thank you very much for coming here, it was very early in the
morning, you guys are stars.