[liblouis-liblouisxml] Re: Order of processing of character definition opcodes

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 21 Sep 2017 19:19:14 +0200

Hi,

You're right, it is not documented, probably because it was never intended
to be used like that.

If possible you should try to avoid defining a character twice with
different dot patterns, but it's OK if there is no other choice (there are
some valid use cases, as long as it is done in a controlled way).

I'm not too sure what the order of processing is. I believe the first
definition wins, but don't take my word for it. You can easily test this
yourself though.

This issue is also relevant: https://github.com/liblouis/liblouis/issues/384.
It shows that there is probably an inconsistency when capsletter is in use.
So be careful, back your table with enough tests.





2017-09-21 17:51 GMT+02:00 Michael Whapples <dmarc-noreply@xxxxxxxxxxxxx>:

The LibLouis documentation is slightly unclear on this one.


If in a table there are two character definition opcodes for one
character, which one will be applied?


The reason I want to do this is that in the table I am working on we
probably can reuse another table in the main, but a few characters may need
redefining. Would I need to define these differences first before including
the existing table or do I do the include first.


Regards


Michael Whapples

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: