Few Questions - CSS typesettings

64 views
Skip to first unread message

Anjan Ram Kumar

unread,
Nov 18, 2016, 1:47:03 AM11/18/16
to Vivliostyle Project

Hi,

 

I was just exploring the “Vivliostyle viewer”, it is really great to use. I need a help in certain areas to explore more.

1.       CSS page media has limited ability to use header and footer area to load rich contents like images and text with formatting.  Is there any way to achieve this in  “Vivliostyle viewer”.

 

Below coding not supported in “Vivliostyle viewer”.

<footer>

<p>sample footer 1 <b>text</b></p>

<p><i>sasa</i></p>

<img src=”little.jpg”/>

</footer>

 

footer{ position: running(header);} 

@bottom-right{

padding-top: 0mm;  font-size: 8pt; line-height: 10pt;

content: element(header);

 font: 8.5pt "MyriadPro-Regular", Times, serif;

}

 

2.       Is there any way to achieve floats image or tables. To place image or tables  in page top or page bottom with out affecting the text flow in pages.

 

3.       I am using OTF fonts “STIX” which is converted to “type3” when generating PDF. Any options to preserve fonts in PDF or am I missing any configuration update.

 

Anjan Ram Kumar

Live and Let Live

Andreas Jung

unread,
Nov 18, 2016, 2:17:45 AM11/18/16
to vivli...@googlegroups.com
You may find some answers to the current state of Vivliostyle on my portal

print-css.rocks

The current state of Vivliostyle is from my prospective not-ready-for-production because
it lacks too many feature at the moment that we have in competing tools like Antennahouse,
PDFreactor or PrinceXM (if you are considering generating PDF). The limitations are possibly
similar both for the formatter and the view because are depend on the same foundation afaik.

Andreas



--
You received this message because you are subscribed to the Google Groups "Vivliostyle Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vivliostyle+unsubscribe@googlegroups.com.
To post to this group, send email to vivli...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vivliostyle/75d1b935-3a4f-484d-8eca-26e8aa036500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kawakubo Toru

unread,
Dec 4, 2016, 10:21:22 PM12/4/16
to vivli...@googlegroups.com
Hi,

Thank you for your feedback, and apologies for the very late reply.

On 2016/11/18, at 15:47, Anjan Ram Kumar <anjanram...@gmail.com> wrote:

1.       CSS page media has limited ability to use header and footer area to load rich contents like images and text with formatting.  Is there any way to achieve this in  “Vivliostyle viewer”.

 

Below coding not supported in “Vivliostyle viewer”.

<footer>

<p>sample footer 1 <b>text</b></p>

<p><i>sasa</i></p>

<img src=”little.jpg”/>

</footer>

 

footer{ position: running(header);} 

@bottom-right{

padding-top: 0mm;  font-size: 8pt; line-height: 10pt;

content: element(header);

 font: 8.5pt "MyriadPro-Regular", Times, serif;

}


Currently Vivliostyle does not support the running() and element() functions.
Alternatively, you can create running headers and footers with Vivliostyle by using functionalities of Adaptive Layout.
The specification of Adaptive Layout is at: http://www.idpf.org/epub/pgt/
A tutorial of Adaptive Layout by Peter Sorotokin is also available at: http://sorotokin.com/adaptive-layout/

 

2.       Is there any way to achieve floats image or tables. To place image or tables  in page top or page bottom with out affecting the text flow in pages.

We are now working hard to support CSS Page Floats, which will make the behavior you mentioned possible:
We hope to deliver a (probably partial) implementation of it in a few month.

 

3.       I am using OTF fonts “STIX” which is converted to “type3” when generating PDF. Any options to preserve fonts in PDF or am I missing any configuration update.

This is a known issue originating from a PDF backend we are using in Vivliostyle Formatter.
(TTF fonts do not have this problem; they are embedded in PDF without conversion)
We are also working on this issue.
We do not have a precise timeline for delivering the fix, but it will at least take a several months.


-- 
Toru Kawakubo (川久保 亮)
Vivliostyle Inc.
http://vivliostyle.com

Anjan Ram Kumar

unread,
Dec 7, 2016, 11:32:43 PM12/7/16
to Vivliostyle Project
Hi  Kawakubo Toru,

Thanks for the reply.

Anjan Ram Kumar C
Reply all
Reply to author
Forward
0 new messages