bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14668: 24.3; htmlfontify-buffer under emacs -nw produces blank page


From: regcl
Subject: bug#14668: 24.3; htmlfontify-buffer under emacs -nw produces blank page
Date: Wed, 19 Jun 2013 15:36:46 -0400

To reproduce the bug ...

emacs -Q -nw
C-x C-f foo.html

... paste text between the '***'s below into buffer foo.html ...

***
<!DOCTYPE html>
<html>
<head><title>Foo</title></head>
<body>
<h2>this is Foo</h2>
</body>
</html>
***

C-x C-s
M-x htmlfontify-buffer
C-x C-s foo.html.nw.html

Now open foo.html.nw.html to see a blank page. 

Note: The page contains text styled in such a way as to be invisible.

Compare foo.html.nw.html with this

emacs -Q
C-x C-f foo.html
M-x htmlfontify-buffer 
C-x C-s

... to see ...

*** /udd/regcl/public_html/edhos/foo.html.html  Wed Jun 19 11:29:40 2013
--- /udd/regcl/public_html/edhos/foo.html.nw.html       Wed Jun 19 11:40:32 2013
***************
*** 6,22 ****
      <title>foo.html</title>
  <meta name="generator" content="emacs 24.3.1; htmlfontify 0.21" />
  <style type="text/css"><!-- 
! body { font-family: courier;  font-stretch: normal;  font-weight: 500;  
font-style: normal;  color: #000000;  background: #ffffff;  font-size: 13pt;  
text-decoration: none; }
! span.default   { font-family: courier;  font-stretch: normal;  font-weight: 
500;  font-style: normal;  color: #000000;  background: #ffffff;  font-size: 
13pt;  text-decoration: none; }
! span.default a { font-family: courier;  font-stretch: normal;  font-weight: 
500;  font-style: normal;  color: #000000;  background: #ffffff;  font-size: 
13pt;  text-decoration: underline; }
! span.bold-italic   { font-style: italic;  font-weight: 700;  font-family: 
courier;  font-stretch: normal;  color: #000000;  background: #ffffff;  
font-size: 13pt;  text-decoration: none; }
! span.bold-italic a { font-style: italic;  font-weight: 700;  font-family: 
courier;  font-stretch: normal;  color: #000000;  background: #ffffff;  
font-size: 13pt;  text-decoration: underline; }
! span.bold   { font-weight: 700;  font-family: courier;  font-stretch: normal; 
 font-style: normal;  color: #000000;  background: #ffffff;  font-size: 13pt;  
text-decoration: none; }
! span.bold a { font-weight: 700;  font-family: courier;  font-stretch: normal; 
 font-style: normal;  color: #000000;  background: #ffffff;  font-size: 13pt;  
text-decoration: underline; }
! span.function-name   { color: #0000ff;  font-family: courier;  font-stretch: 
normal;  font-weight: 500;  font-style: normal;  background: #ffffff;  
font-size: 13pt;  text-decoration: none; }
! span.function-name a { color: #0000ff;  font-family: courier;  font-stretch: 
normal;  font-weight: 500;  font-style: normal;  background: #ffffff;  
font-size: 13pt;  text-decoration: underline; }
! span.keyword   { color: #a020f0;  font-family: courier;  font-stretch: 
normal;  font-weight: 500;  font-style: normal;  background: #ffffff;  
font-size: 13pt;  text-decoration: none; }
! span.keyword a { color: #a020f0;  font-family: courier;  font-stretch: 
normal;  font-weight: 500;  font-style: normal;  background: #ffffff;  
font-size: 13pt;  text-decoration: underline; }
   --></style>
  
      <script type="text/javascript"><!--
--- 6,22 ----
      <title>foo.html</title>
  <meta name="generator" content="emacs 24.3.1; htmlfontify 0.21" />
  <style type="text/css"><!-- 
! body { font-family: default;  font-stretch: normal;  font-weight: 500;  
font-style: normal;  color: nil;  background: nil;  font-size: 0pt;  
text-decoration: none; }
! span.default   { font-family: default;  font-stretch: normal;  font-weight: 
500;  font-style: normal;  color: nil;  background: nil;  font-size: 0pt;  
text-decoration: none; }
! span.default a { font-family: default;  font-stretch: normal;  font-weight: 
500;  font-style: normal;  color: nil;  background: nil;  font-size: 0pt;  
text-decoration: underline; }
! span.bold-italic   { font-style: italic;  font-weight: 700;  font-family: 
default;  font-stretch: normal;  color: nil;  background: nil;  font-size: 0pt; 
 text-decoration: none; }
! span.bold-italic a { font-style: italic;  font-weight: 700;  font-family: 
default;  font-stretch: normal;  color: nil;  background: nil;  font-size: 0pt; 
 text-decoration: underline; }
! span.bold   { font-weight: 700;  font-family: default;  font-stretch: normal; 
 font-style: normal;  color: nil;  background: nil;  font-size: 0pt;  
text-decoration: none; }
! span.bold a { font-weight: 700;  font-family: default;  font-stretch: normal; 
 font-style: normal;  color: nil;  background: nil;  font-size: 0pt;  
text-decoration: underline; }
! span.function-name   { color: nil;  font-family: default;  font-stretch: 
normal;  font-weight: 500;  font-style: normal;  background: nil;  font-size: 
0pt;  text-decoration: none; }
! span.function-name a { color: nil;  font-family: default;  font-stretch: 
normal;  font-weight: 500;  font-style: normal;  background: nil;  font-size: 
0pt;  text-decoration: underline; }
! span.keyword   { color: nil;  font-family: default;  font-stretch: normal;  
font-weight: 500;  font-style: normal;  background: nil;  font-size: 0pt;  
text-decoration: none; }
! span.keyword a { color: nil;  font-family: default;  font-stretch: normal;  
font-weight: 500;  font-style: normal;  background: nil;  font-size: 0pt;  
text-decoration: underline; }
   --></style>
  
      <script type="text/javascript"><!--

Best,
regcl


In GNU Emacs 24.3.1 (i386-pc-solaris2.10, X toolkit, Xaw scroll bars)
 of 2013-05-22 on capecod
Configured using:
 `configure '--prefix=/udd/regcl/SunOS' '--with-gif=no''

Important settings:
  value of $LC_COLLATE: en_US.ISO8859-1
  value of $LC_CTYPE: en_US.ISO8859-1
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: en_US.ISO8859-1
  value of $LC_NUMERIC: en_US.ISO8859-1
  value of $LC_TIME: en_US.ISO8859-1
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
DEL DEL DEL DEL DEL DEL d o e s SPC DEL DEL DEL DEL 
DEL p r o d u c e s SPC s n o w SPC i n SPC DEL DEL 
DEL i n SPC e m a c s SPC - n w RET C-x 1 ESC < C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n 
C-n C-n C-n C-n C-n C-p C-p T h e SPC . h t m l SPC 
f i l DEL DEL DEL p r o d u c e d SPC b y SPC h t m 
l f o n g i f y DEL DEL DEL DEL C-x 3 ESC a a C-g ESC 
O P a h t m l RET C-x o C-n C-n C-n C-n C-n C-n C-@ 
C-e ESC w C-x o DEL C-e DEL DEL DEL DEL DEL DEL DEL 
C-y DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL DEL 
DEL DEL DEL DEL DEL DEL DEL r SPC p r o d u c e s SPC 
s n o w SPC p a g e s SPC DEL DEL DEL DEL DEL DEL DEL 
DEL DEL DEL DEL i n v i s i b l e SPC DEL DEL DEL DEL 
DEL DEL DEL DEL DEL DEL s n o w DEL DEL DEL DEL w h 
i n DEL t e SPC o n SPC w h i t e f a i DEL DEL DEL 
DEL DEL DEL DEL DEL DEL C-x k RET y e s RET ESC x r 
e p o r t SPC e m a SPC b SPC RET

Recent messages:
Checking 77 files in /udd/regcl/SunOS/share/emacs/24.3/lisp/obsolete...
Checking 1 files in /udd/regcl/SunOS/share/emacs/24.3/leim...
Checking for load-path shadows...done
Mark set
byte-code: Beginning of buffer
Quit
Type C-x 4 C-o RET to restore the other window.  
Mark set [2 times]
Auto-saving...done
Auto-saving...done

Load-path shadows:
None found.

Features:
(apropos help-mode shadow sort gnus-util mail-extr emacsbug message
format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dynamic-setting
x-toolkit x multi-tty emacs)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]