Recent activity

Set Horizontal Paper 1 year, 1 month ago

From Mehmet to ~ireas/public-inbox

Hi. I could not find a nice solution for my use case. I changed document 
paper_size, it worked for horizontal pages but it did not work like 
expected. It changes sizes but render fonts changes verticaly. I did not 
explain myself, sorry.


Is there any easy way to make horizontal A4 paper?

Re: Column or Row Span Feature for TableLayout 1 year, 1 month ago

From Mehmet to ~ireas/public-inbox

Hi again.

If there is no span feature, can i make table in table? For now, i think 
it will be okey.

Re: Column or Row Span Feature for TableLayout 1 year, 2 months ago

From Mehmet ERİBOL to ~ireas/public-inbox

Thanks sir! You are awesome.

Robin Krahl <robin.krahl@ireas.org>, 27 Tem 2021 Sal, 13:38 tarihinde
şunu yazdı:
>
> On 2021-07-27 12:56:10, Mehmet ERİBOL wrote:
> > I am looking for span documentations but could not find any. Is there
> > a way to make span for table cell?
>
> This is unfortunately not supported yet, though I definitely want to add
> that in the future.
>
> /Robin

Manuel Multi Line feature for one element 1 year, 2 months ago

From Mehmet ERİBOL to ~ireas/public-inbox

Hi.

I am working with tables. An a table cell can be multi line but it is
automatic. I tried add multi element for creating new paragrah but
row.push_element() only works for one element. I used "\n" formatting
but it just does not affect what i want.

Is there a way to make new line for one string?

Column or Row Span Feature for TableLayout 1 year, 2 months ago

From Mehmet ERİBOL to ~ireas/public-inbox

I am looking for span documentations but could not find any. Is there
a way to make span for table cell?

Re: i18n Support 1 year, 2 months ago

From Mehmet ERİBOL to ~ireas/public-inbox

let regular_bytes =
    include_bytes!("../pkg/fonts.ttf");
let regular_font_data = fonts::FontData::new(
    regular_bytes.to_vec(),
    None,
)

I changed Some(Builtin) to None and it worken

Re: i18n Support 1 year, 2 months ago

From Mehmet ERİBOL to ~ireas/public-inbox

Hi.

I am not sure if it is the same problem. My problem is, my example
wrok nice with english character. But when i add turkish special
character(like şÇöÖüÜİı) browser can not render the pdf.
// this does notwork
doc.push(elements::Paragraph::new("aişş"));
doc.push(elements::Break::new(1));
// this work

doc.push(elements::Paragraph::new("ai"));
doc.push(elements::Break::new(1));