Closed poire-z closed 1 year ago
@benoit-pierre @NiLuJe : no real issue, but as you are all high on build and compilers, any idea about the two errors reported by the CI - and how to silence them?
error: 'LVFontGlyphCacheItem' does not refer to a value [clang-diagnostic-error
is 2 years old: https://github.com/koreader/crengine/pull/450#issuecomment-907043201
error: Reference to temporary returned.
has been here since forever.
IIRC, it's something related to the fact that LVFontGlyphCacheItem
is not a plain struct, it's got functions like a class.
No idea about the second one (both of those look too C++-y for me ;p).
Some people have advocated for using emoji classnames as a joke. But it wouldn't necessarily be surprising to see other scripts in any case.
DocX: add support for similar DocM format
https://github.com/koreader/koreader/issues/10599#issuecomment-1627678171. Thanks @pkb. Should allow closing https://github.com/koreader/koreader/issues/10599.
LVStyleSheet: fix LVCssDeclaration::getHash()
Computations could stop too early (when meeting the ASCII char
cssd_stop
, currentlyh
, ie. in a'url(aha.png)'
), which would have any change after thath
goes unnoticed. Noticed at https://github.com/koreader/crengine/issues/514#issuecomment-1616584156.CSS parsing: accept Unicode values for ID and classnames
(We still expect ASCII for element and attribute names.) Got a French EPUB that has in its CSS (as utf8, shown here read as latin1):
which was mostly blank :) We'll now support
#id
and.classname
made with other chars than ASCII ones. I hope it won't cause issues with other fancy CSS with other encodings.update for Harfbuzz 8, fix some compiler warning
hb_font_get_glyph_shape()
is deprecated and has been replaced withhb_font_draw_glyph()
.This change is