Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Burmese some chapter numbers are bigger than others #312

Closed
LAfricain opened this issue Aug 16, 2019 · 14 comments
Closed

In Burmese some chapter numbers are bigger than others #312

LAfricain opened this issue Aug 16, 2019 · 14 comments
Assignees
Labels

Comments

@LAfricain
Copy link
Contributor

See the capture:
chapter_numbers

@teusbenschop
Copy link
Member

Is the style of both chapter numbers the same, or has a different style been applied to both?

@LAfricain
Copy link
Contributor Author

Is the style of both chapter numbers the same, or has a different style been applied to both?

In usfm it is the same style:

\c 117
\cp ၁၁၇
\s ဝတ်ပြုကိုးကွယ်ရန် လူမျိုးအပေါင်းတို့အားဖိတ်ခေါ်ခြင်း
\p
\v 1 
\vp ၁။\vp* လူမျိုးအပေါင်းတို့၊ ထာ၀ရဘုရားသခင်ကို ချီးမွမ်းထောမနာပြုကြလော့။  လူအပေါင်းတို့၊ ကိုယ်တော့်ကို ချီးမွမ်း ဂုဏ်ပြုကြလော့။-
\v 2 
\vp ၂။\vp* အကြောင်းမူကား ကိုယ်တော်၏ သနားကရုဏာတော်သည်  ငါတို့အပေါ်တွင် ကြီးမားလှပေ၏။ ထာ၀ရဘုရားသခင်၏ သစ္စာတော်သည်လည်း အစဉ်ထာ၀ရတည်တော်မူ၏။ ထာ၀ရဘုရားသခင်အား ချီးမွမ်းထောမနာပြုကြလော့။
\c 118
\cp ၁၁၈
\s အောင်ပွဲခံရသောကြောင့် ကျေးဇူးတင်ချီးမွမ်းခြင်း
\p
\v 1 
\vp ၁။\vp* ထာ၀ရဘုရားသခင်သည်  ကောင်းမြတ်တော်မူသောကြောင့် ကိုယ်တော့်ကို ကျေးဇူးတင်ချီးမွမ်းကြလော့။  ကိုယ်တော်၏ ခိုင်မြဲသောမေ

@teusbenschop
Copy link
Member

Okay, thank you.
And in the OpenDocument file, is the style the same in both cases?

@LAfricain
Copy link
Contributor Author

@teusbenschop teusbenschop self-assigned this Aug 25, 2019
@teusbenschop
Copy link
Member

The style is the same in the export to OpenDocument.

Here's a video that shows what is going on.

It is related to the Drop Caps handling in OpenOffice or LibreOffice.

One of the characters in the chapter number is longer, so it drops below the base line. Then OpenOffice or LibreOffice decide to make the whole chapter number smaller so it fits within the space assigned to it.

Here's the video.

OpenDocumentChapters.mov.zip

And here's the document the video was recorded from:

21_Psalms_standard.odt.zip

@teusbenschop
Copy link
Member

I guess this is something that is beyond Bibledit.

It exports the Burmese chapters correctly to html and to web. The size is right there.

Any ideas how to resolve this for OpenDocument?

@LAfricain
Copy link
Contributor Author

Any ideas how to resolve this for OpenDocument?

No idea, sorry!!

@teusbenschop
Copy link
Member

I have no ideas either.

But what I think is that this is an issue in OpenOffice.

Perhaps a step towards a solution would be to submit this case to their issue tracker.

@LAfricain
Copy link
Contributor Author

LAfricain commented Aug 25, 2019

I opened a new issue on the LO bug tracker, please have a look on it. Burmese drop caps issue on LO bug tracker.

@teusbenschop
Copy link
Member

Since the issue is now with LibreOffice, I am closing this issue in this Bibledit tracker.
Please reopen if needed.

@LAfricain
Copy link
Contributor Author

I checked the box in the export menu to put a frame on the chapter numbers. It solves part of the problem, at least when exported in pdf in LO. I also noticed that the original pdf of this Bible that was already published surrounded the chapter with a circle.
burmese_chapter1
Burmese_chapter2

Is it possible to add this option in Bibledit or not?

@teusbenschop
Copy link
Member

If adding a circle is something that LibreOffice supports, then I guess Bibledit can also support it.

It really depends on whether LibreOffice supports this circle.

@LAfricain
Copy link
Contributor Author

If adding a circle is something that LibreOffice supports, then I guess Bibledit can also support it.

I have no idea if LO can supports it.

@teusbenschop
Copy link
Member

I just searched shortly for drawing a circle around a text frame, but no results came up.

My initial guess is that LibreOffice does not support drawing circles around a text frame.

I'm open to better guesses than this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants