<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/imv/src, branch master</title>
<subtitle>Fork of imv, replacing icu with libgrapheme
</subtitle>
<id>https://git.carbslinux.org/forks/imv/atom?h=master</id>
<link rel='self' href='https://git.carbslinux.org/forks/imv/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/'/>
<updated>2021-10-04T16:26:08+00:00</updated>
<entry>
<title>imv: use libgrapheme instead of icu</title>
<updated>2021-10-04T16:26:08+00:00</updated>
<author>
<name>Cem Keylan</name>
<email>cem@ckyln.com</email>
</author>
<published>2021-10-04T14:30:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=274c358df557f399e4a4394c6cc8c14da6c33762'/>
<id>urn:sha1:274c358df557f399e4a4394c6cc8c14da6c33762</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cairo: Replace &lt;cairo/cairo.h&gt; by &lt;cairo.h&gt;</title>
<updated>2021-09-05T17:59:51+00:00</updated>
<author>
<name>Issam E. Maghni</name>
<email>issam.e.maghni@mailbox.org</email>
</author>
<published>2021-09-05T17:42:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=ac30f34bd32ec468312472b207878db842426aef'/>
<id>urn:sha1:ac30f34bd32ec468312472b207878db842426aef</id>
<content type='text'>
See https://gitlab.freedesktop.org/cairo/cairo/-/blob/master/doc/tutorial/src/include/cairo-tutorial.h
</content>
</entry>
<entry>
<title>Make freeimage backend have preceedence over libjpeg</title>
<updated>2021-08-05T21:01:30+00:00</updated>
<author>
<name>Ivan Oleynikov</name>
<email>ivan.oleynikov95@gmail.com</email>
</author>
<published>2021-07-26T19:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=f71548ce45991fc2698426199116beb8c067d0c2'/>
<id>urn:sha1:f71548ce45991fc2698426199116beb8c067d0c2</id>
<content type='text'>
The current implementation of freeimage backend automatically rotates the
images based on EXIF info. Libjpeg backed doesn't do that (although libjpeg
itself may be able to, I didn't check). This commit makes Imv use freeimage for
jpeg files when both backends are available to enable automatic image rotation
when possible.

A cleaner solution could be to add automatic rotaiton functionality to libjpeg
backend as well, but this quick hack is better than nothing ☺
</content>
</entry>
<entry>
<title>Fix lack of X11 window deletion event handling</title>
<updated>2021-07-29T17:02:35+00:00</updated>
<author>
<name>kat witch</name>
<email>kat@kittywit.ch</email>
</author>
<published>2021-07-21T23:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=b194997c20fb1ade3aa2828676ca85a2738a8f3e'/>
<id>urn:sha1:b194997c20fb1ade3aa2828676ca85a2738a8f3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WIP: Use set_size instead of set_absolute_size for font</title>
<updated>2021-07-29T17:01:31+00:00</updated>
<author>
<name>Ivan Oleynikov</name>
<email>ivan.oleynikov95@gmail.com</email>
</author>
<published>2021-07-28T04:53:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=33560e8e2eac581e0002351d22dc7ed2116c747a'/>
<id>urn:sha1:33560e8e2eac581e0002351d22dc7ed2116c747a</id>
<content type='text'>
This seems to have a better behavior, this way, the fonts in Imv seem to have
the same size as the fonts in other programs (Sway, Waybar) when configured in
the same way.
</content>
</entry>
<entry>
<title>Scale fonts when Wayland updates scaling factor</title>
<updated>2021-07-29T17:01:31+00:00</updated>
<author>
<name>Ivan Oleynikov</name>
<email>ivan.oleynikov95@gmail.com</email>
</author>
<published>2021-07-26T18:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=3c1d27d8859cc4eda5802c1502ee5ae7430a9c8f'/>
<id>urn:sha1:3c1d27d8859cc4eda5802c1502ee5ae7430a9c8f</id>
<content type='text'>
Before this commit, the code in src/wl_window.c seemed to handle the Wayland
scaling [1] correctly, it was sending resize events to imv to update the buffer
size accordingly. One thing it didn't update is the scaling of fonts that Pango
renders on Cairo.

This commit simply forwards the scaling factor (computed as [1] requests)
together with updated buffer dimentions in resize event, and when the resize
event is handled it calls cairo_surface_set_device_scale to notify Pango/Cairo
of the scaling.

For X11, I simply assume the scaline factor is always 1. This seems to be what
the old code did: `grep scale src/x11_window.c` gives no matches. AFAIK, X11
does not have an established way of telling clients what scaling factor to use
(and never updates it at runtime).

[1]: https://wayland-book.com/surfaces-in-depth/hidpi.html
</content>
</entry>
<entry>
<title>Also suppress TIFF errors from stdin</title>
<updated>2021-07-08T23:18:47+00:00</updated>
<author>
<name>Harry Jeffery</name>
<email>harry@exec64.co.uk</email>
</author>
<published>2021-07-08T23:18:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=eeaf5e3cb983befd20bc5d706f5b8e7cd321decf'/>
<id>urn:sha1:eeaf5e3cb983befd20bc5d706f5b8e7cd321decf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Suppress annoying TIFF errors</title>
<updated>2021-07-08T23:00:44+00:00</updated>
<author>
<name>Harry Jeffery</name>
<email>harry@exec64.co.uk</email>
</author>
<published>2021-07-08T23:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=8d918752078f8b418e7f210aa2e62347d2b43a24'/>
<id>urn:sha1:8d918752078f8b418e7f210aa2e62347d2b43a24</id>
<content type='text'>
Fixes #252
</content>
</entry>
<entry>
<title>Fix image skipping when reading slow filesystems</title>
<updated>2021-07-08T22:46:16+00:00</updated>
<author>
<name>Harry Jeffery</name>
<email>harry@exec64.co.uk</email>
</author>
<published>2021-07-08T22:46:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=27df0fb8fedfaa3ebdada9cdf25cf82e520b27e3'/>
<id>urn:sha1:27df0fb8fedfaa3ebdada9cdf25cf82e520b27e3</id>
<content type='text'>
Fixes #201
</content>
</entry>
<entry>
<title>Fix zoom speed dependence on buffer/image width</title>
<updated>2021-07-08T22:17:35+00:00</updated>
<author>
<name>Ronan Dalton</name>
<email>86718942+ronandalton@users.noreply.github.com</email>
</author>
<published>2021-06-30T12:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/imv/commit/?id=eccd3cf9124d4ff2f4569b0c1fbf7f3a7b008b4d'/>
<id>urn:sha1:eccd3cf9124d4ff2f4569b0c1fbf7f3a7b008b4d</id>
<content type='text'>
</content>
</entry>
</feed>
