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

Add options to set file type or embosser model, character table and page format #82

Open
bertfrees opened this issue Mar 22, 2024 · 3 comments
Assignees

Comments

@bertfrees
Copy link
Member

bertfrees commented Mar 22, 2024

These options will be used in addition to output-file-format to determine the conversion from PEF to the final result. (Compare with how braille-code was split off from transform).

To specify the page format, several options might be needed. This information, together with the existing page-width and page-height options, will be used to determine the available rows and columns.

If both an absolute page size and a number of rows/columns (page-width and page-height) is specified, we try to respect the rows/columns setting if possible, and position the page on the physical page in an appropriate way.

If no information is given through options, the system could fall back to determining the page format based on the CSS (@page rules).

If needed, the CSS to OBFL conversion should adjust the formatting based on the printable page area for the given embosser (with warnings).

If the paper size has been computed from the specified number of rows and columns or from the CSS, this information should somehow be conveyed to the user (so that he can make sure the right paper is loaded in the printer).

@MDipendra
Copy link

Are we also considering various file formats as output files? Such as brf is one. E-braille should be added once it is finalized. We are also working on specifications for extension to brf to add navigation features in low cost braille displays that are not capable of parsing html or EPUB.

@bertfrees
Copy link
Member Author

Are we also considering various file formats as output files?

Yes.

Such as brf is one.

I'm not sure yet I will call it "BRF". Because "BRF" is a term that does not mean the same everywhere, and conversely, in some regions they call the same kind of file format differently. Some more generic name might be more suitable.

E-braille should be added once it is finalized.

I agree. Perhaps it would be better to handle this on the UI level though, because the dtbook-to-pef script (even though the name is "DTBook to braille" in the user interface) is for paginated/embossed braille, in other words braille formats that can be derived from PEF. dtbook-to-ebraille will most likely be a different script because it's too different.

We are also working on specifications for extension to brf to add navigation features in low cost braille displays that are not capable of parsing html or EPUB.

Cool!

@MDipendra
Copy link

MDipendra commented May 27, 2024 via email

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

No branches or pull requests

2 participants