On Thu, Jan 4, 2018 at 11:14 PM, Kornel Benko <kor...@lyx.org> wrote:
> Am Donnerstag, 4. Januar 2018 um 22:39:09, schrieb Joel Kulesza < > jkule...@gmail.com> > > On Thu, Jan 4, 2018 at 9:06 PM, Kornel Benko <kor...@lyx.org> wrote: > > > > > Am Donnerstag, 4. Januar 2018 um 20:04:28, schrieb Joel Kulesza < > > > jkule...@gmail.com> > > > > On Wed, Jan 3, 2018 at 11:04 PM, Kornel Benko <kor...@lyx.org> > wrote: > > > > > > > > > > > > In addition, cmake gives me different default screen fonts > than > > > > > > > configure (with configure giving me those I'm accustomed to). > > > > > > > > > > > > > > I’d guess the screen fonts come from development/MacOSX/ > > > lyxrc.dist.in > > > > > - > > > > > > > probably this file isn’t used by cmake... > > > > > > > > > > > > > > > > > Cmake uses this file, but it doen't install it. (Missing for Apple > in > > > > > development/cmake/Install.cmake) > > > > > There is also the file development/MacOSX/Info.plist.in. Don't > know, > > > what > > > > > to do with it. > > > > > > > > > > > Gotcha, and good to know. Perhaps this is one of those instances > > > where > > > > > > cmake & configure can be brought into alignment (I'd argue that > > > cmake is > > > > > > incorrect in this case because my default screen font is sans > > > serifs). > > > > > > > > > > I am committing now, please test. > > > > > > > > > > > > > Kornel, > > > > > > > > I pulled at 03b6ee9f and built with cmake. I was able to build > > > > successfully (magic.h was handled appropriately). However, when > > > launched, > > > > my screen fonts are still sans serifs. > > > > > > > > Mysteriously, through cleaning up the configure'd makes, and my > > > > ~/Library/Application Support directories, my configure-made > executable > > > now > > > > also shows sans serif fonts. Weird. > > > > > > No mystery. It was probably leftover from previous runs. The lyxrc.dist > > > has only default values if nothing is set yet. > > > > > > > Sorry, perhaps I wasn't clear. The default given in lyxrc.dist is Times > (a > > serifed font) but when I build and run, having deleted my > > ~/Library/Application Support/LyX and ~/Library/Application > Support/LyX2.4 > > folders (containing any user preferences), I would expect to see Times as > > the interface font (the default). However, I see Lucida Grande. Note > that > > I can set the Roman font to Times in the preferences and it displays > > properly, it just isn't used as the default... > > > > Now I have to ask: > Did you 'build and run' or 'build and install and run installed'? > If only build and run, then the file lyxrc.dist may not be at the proper > position. > On linux it is *installed* in the system-directory. > Using in-build-lyx, the system directory is is located in the source tree, > but > cmake does not pollute it. So there is no lyxrc.dist there. > I only built and ran (as I've been doing all along). After I sent my earlier message, I cleaned everything up and built-installed-ran using configure. When I do that, I get serifs. If I just run what was built, but not installed, I lack serifs. So, it's definitely an issue of lyxrc.dist misdirection for configure. I have no doubt the same is true for cmake (though I haven't tested). I have no explanation how I ended up with serifs previously; however, I'm glad to now understand why they appear or not.