There are two texts (rural and urban), one is visible (specified in the domain variable), and the other is hidden, called the 'shadow' text. Replacements happen in both, here for the shadow-text. Currently we do contextualRandom()for both, however this is based on the layout for the current-domain text only. For the shadow-text it simply picks randomly. Instead we need to have an non-visible layout for the shadow text that allows us to do the same width measurements as we do for the current domain text
There are two texts (rural and urban), one is visible (specified in the domain variable), and the other is hidden, called the 'shadow' text. Replacements happen in both, here for the shadow-text. Currently we do
contextualRandom()
for both, however this is based on the layout for the current-domain text only. For the shadow-text it simply picks randomly. Instead we need to have an non-visible layout for the shadow text that allows us to do the same width measurements as we do for the current domain text