GNU bug report logs -
#22410
htmlfontify and interaction with preproc-font
Previous Next
Full log
View this message in rfc822 format
phillip.lord <at> russet.org.uk (Phillip Lord) writes:
> https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00892.html
I have investigated further.
hfy-face-at appears to be returning the right thing, but htmlfontify
seems not to produce overlapping fonts. So, looking at the first:
#define EMACS_BUFFER_H
from buffer.h with preproc-font installed.
This is from htmlfontify.el
#+begin_src html
<span class="preprocessor">#</span>
<span class="preprocessor">define</span>
<span class="preprocessor-background"> </span>
<span class="variable-name">EMACS_BUFFER_H</span>
#+end_src
And this is from htmlize.el
#+begin_src html
<span class="preproc-font-lock-preprocessor-background">
<span class="preprocessor">#define</span>
</span>
<span class="preproc-font-lock-preprocessor-background"> </span>
<span class="preproc-font-lock-preprocessor-background">
<span class="variable-name">EMACS_BUFFER_H</span>
</span>
#+end_src
AFAICT, this all happens in hfy-fontify-buffer, and I haven't found the
energy to step through this yet.
This bug report was last modified 4 years and 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.