Estive (lentamente) trabalhando na criação de bordas para barras laterais (sidebars) baseadas em repetição ou esticamento (ou repetição e esticamento) de 'ornamentos'. Ele aplica qualquer esticamento antes que os ornamentos sejam desenhados, de modo que a espessura da linha permanece constante, mesmo quando o usuário escolhe permitir que um ornamento seja distorcido de forma grosseira.
Nesta semana, o código foi estendido para adicionar (possivelmente distorcidos) glifos de fontes à lista de coisas que podem ser usadas (embora, neste caso, haja distorção na espessura da linha, é claro).
Se elementos repetitivos forem usados, as bordas ornamentais (assumindo que estejam definidas corretamente) são verdadeiramente 'feitas sob medida' para cada caixa que cercam, em vez de distorcidas.
O próximo passo será tornar possível colocar essas bordas ornamentais ao redor de uma página. Atualmente, se uma borda (PDF) for adicionada a uma página, é a página inteira que recebe a borda (incluindo notas de rodapé e referências cruzadas), mas vejo pela página da SAB que houve pedidos para bordar apenas o texto bíblico, excluindo as notas de rodapé.
Também entendo que, em algumas partes do mundo, haveria uma preferência cultural para que um diglote incluindo o grego/hebraico original tivesse a língua original 'emoldurada' e a tradução vernácula não.
Portanto, presumo que haja três opções para bordas de página que são desejadas:
- Página inteira
- Apenas o texto bíblico
- Apenas um lado de um diglote.
Mas há potencialmente outras opções que consigo pensar:
- Parte bíblica de ambos os lados de um diglote em uma única borda
- Parte bíblica de ambos os lados de um diglote, em bordas separadas
- Texto bíblico e notas de rodapé / referências cruzadas, mas não figuras
E, eventualmente, pode haver um desejo por:
- Bordas ao redor de títulos de seção
- Bordas ao redor de imagens??
Esqueci de algo? Qual dessas é a mais urgente?
I’ve been (slowly) working on drawing borders for sidebars based on repeating or stretching, (or repeating and stretching) ‘ornaments’. It applies any stretch before the ornaments are drawn, so the line thickness remains constant even when the user has chosen to allow an ornament to be grossly pulled out of shape.
This week, the code has been extended to add (possibly distorted) glyphs from fonts to the list of things that can be used, (though in this case there is line-thickness distortion, of course.)
If repeating elements are used, the ornamental borders (assuming they’re defined properly) are truly ‘made-to-measure’ for each box they surround, rather than distorted.
The next step will be to make it possible to put these ornamental borders around a page. At present, if a (PDF) border is added to a page, it is the entire page page that gets the border (footnotes and cross-references included), but I see from the SAB page that there have been requests to border just the scripture text, excluding footnotes.
I also understand that in some parts of the world there’d be a cultural preference for a diglot including the original Greek/Hebrew to have the original language being be ‘framed’ and the vernacular translation not be.
Thus I presume there are three options for page-borders that there is some desire for:
- Whole page
- Scripture text only
- One side of a diglot only.
But there are potentially other options that I can think of:
- Scripture portion of both sides of a diglot in a single border
- Scripture portion of both sides of a diglot, in separate borders
- Scripture and footnotes / x-references, but not figures
And eventually there may be a desire for:
- Borders around section headings
- Borders around pictures??
Have I missed anything out? Which of these is the most urgent?